urbit-pilled / tree-sitter-hoon

Tree-sitter grammar for urbit language hoon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tree-sitter grammar for urbit language hoon

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 99.6%Language:JavaScript 0.4%Language:Rust 0.0%Language:C++ 0.0%Language:Scheme 0.0%Language:Python 0.0%