Tree-sitter grammar for urbit language hoon
Go to file
2024-03-22 19:33:06 +13:00
bindings added bindings 2023-06-09 18:13:07 +12:00
queries Update highlights.scm 2023-07-27 03:25:11 +12:00
src fix: use _Static_assert instead of static_assert 2023-12-11 21:26:38 +13:00
test/corpus updated tests 2023-07-25 03:57:29 +12:00
.gitignore added all testfiles to .gitignore 2023-07-04 05:53:46 +12:00
binding.gyp init 2023-06-04 07:03:43 +12:00
Cargo.toml fixed version numbers 2023-06-08 12:19:19 +12:00
grammar.js unhide stringContent 2023-07-25 03:51:05 +12:00
LICENSE added BSD3 license 2023-09-06 00:04:21 +12:00
package.json fixed version numbers 2023-06-08 12:19:19 +12:00
README.md Update README.md 2024-03-22 19:33:06 +13:00

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 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 <hoon-file>

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://developers.urbit.org/reference/hoon/rune