/tree-sitter-motoko

tree-sitter for motoko

Primary LanguageJavaScriptApache License 2.0Apache-2.0

tree-sitter-motoko

Here you can find my attempt to reflect the Motoko grammar into tree-sitter. Motoko is the language of the Internet Computer, a web3 platform that serves HTTP requests through distributed, containerized applications called canisters.

The grammar used in this reflection is found here.

why

  • I want to understand the Motoko language.
  • There is no tree-sitter grammar. Some text editors rely on tree-sitter integration.