11 releases
0.1.0 | May 13, 2024 |
---|---|
0.0.14 | Apr 10, 2024 |
0.0.13 | Mar 28, 2024 |
0.0.9 | Feb 28, 2024 |
#177 in Text editors
1,081 downloads per month
2.5MB
76K
SLoC
tree-sitter-navi
Navi language support for tree-sitter.
cargo add tree-sitter-navi
lib.rs
:
This crate provides navi language support for the tree-sitter parsing library.
Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:
let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_navi::language()).expect("Error loading navi grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~72K SLoC