Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation according to FunC v0.5.0 #631

Closed
wants to merge 10 commits into from
Closed

Conversation

tolk-vm
Copy link
Contributor

@tolk-vm tolk-vm commented Jun 14, 2024

UPD. We decided not to develop FunC, but to fork it and start developing a new language, named TOLK.
See ton-blockchain/ton#1345


This MR updates documentation according to FunC v0.5.0.

When ton-blockchain/ton#1026 is merged, this MR will become non-draft

What changes were made to the documentation

  • updated grammar in prism-func.js for new keywords and // comments
  • all comments were replaced from ;; {- -} to // /* */ in all code snippets
  • rewritten a part about function specifiers (impure by default, pure keyword, get methods)
  • dropped impure from all code snippets, added pure to stdlib where necessary
  • replaced method_id with get in all code snippets
  • enumerated all built-in functions in stdlib with builtin keyword, dropped "built-ins" page
  • deprecated two pragmas, added remove-unused-functions
  • updated operators priority list
  • added changelog and migration guide (from v0.4.x to v0.5.0)

Though I've made changes to code snippets in Chinese translation, but I didn't translate added/edited contents. It means, that if we want to keep Mandarin version up to date, all changes from this PR should be mirrored and translated.

Fixes #563

@reveloper
Copy link
Contributor

Though I've made changes to code snippets in Chinese translation, but I didn't translate added/edited contents. It means, that if we want to keep Mandarin version up to date, all changes from this PR should be mirrored and translated.

That's fine! We are working on localization updates separately so that you can avoid these remarks for other languages.

@tolk-vm tolk-vm closed this Nov 7, 2024
@tolk-vm tolk-vm deleted the func-v0.5.0 branch November 7, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing some FunC debug primitives description
2 participants