tact-docs icon indicating copy to clipboard operation
tact-docs copied to clipboard

Complete annotated grammar reference/spec from `grammar.ohm`

Open novusnota opened this issue 1 year ago • 1 comments

Current grammar page doesn't bring much value, especially for those willing to work on Tact compiler development or related tooling.

The page should be moved to the Language → Reference section, and it should cover different parts of the official Tact grammar in Ohm with examples showcasing their usage in the language.

Now, it's possible to do it with syntax highlighting of Ohm code blocks thanks to the merged TextMate grammar for Ohm, brought from novusnota/vscode-ohm.

Reference links:

  • https://craftinginterpreters.com/appendix-i.html
  • https://c3-lang.org/references/docs/specification/

novusnota avatar Mar 01 '24 00:03 novusnota