https://github.com/urbit-pilled/tree-sitter-hoon
Tree-sitter grammar for urbit language hoon
https://github.com/urbit-pilled/tree-sitter-hoon
hoon tree-sitter urbit
Last synced: about 1 year ago
JSON representation
Tree-sitter grammar for urbit language hoon
- Host: GitHub
- URL: https://github.com/urbit-pilled/tree-sitter-hoon
- Owner: urbit-pilled
- License: bsd-3-clause
- Created: 2023-06-03T19:04:19.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-17T09:41:50.000Z (over 1 year ago)
- Last Synced: 2025-03-31T01:31:49.063Z (about 1 year ago)
- Topics: hoon, tree-sitter, urbit
- Language: C
- Homepage:
- Size: 3.27 MB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-urbit - tree-sitter-hoon - sitter grammar for Hoon. (Developer Tools)
README
# tree-sitter-hoon
Tree-sitter grammar for urbit language hoon
## Using the tree-sitter command line tool
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](https://github.com/tree-sitter/tree-sitter/releases/) page.
#### command line usage
- 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 `
## Code editor integrations
Instructions on how to integrate tree-sitter with your editor/IDE here: https://github.com/urbit-pilled/hoon-ts-editors
## Reference
https://docs.urbit.org/language/hoon/reference/rune