Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 833 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 833 Bytes

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.