Skip to content

gnoswap-labs/tree-sitter-gno

Repository files navigation

tree-sitter-gno

gno grammar for tree-sitter

Description

Gno is essentially identical to Go's syntax, but some syntax such as generic, channel and go are not supported. Therefore, the grammar rules have been written and generated to fit these characteristics.

However, we believe that these syntax elements will be fully implemented eventually, so they have been commented out for now. Once they start being supported, you can simply remove the comments from thos parts and regenerate the grammar with the following command

tree-sitter generate

Project Setup

For project setup, please refer to the setup section of tree-sitter's official documentation.

About

gno grammar for tree-sitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages