Tree-sitter grammar for urbit language hoon
You can install the tree-sitter-cli with cargo:
cargo install tree-sitter-cli
or with npm:
npm install tree-sitter-cli
You can also download a pre-built binary for your platform from the tree-sitter releases page.
- To test the tree-sitter parser use:
tree-sitter test
- To compile the parser:
tree-sitter generate
- To parse a hoon file use:
tree-sitter parse <hoon-file>
Instructions on how to integrate tree-sitter with your editor/IDE here: https://github.com/urbit-pilled/hoon-ts-editors