#tree-sitter #parser #incremental #navi-stream

tree-sitter-navi-stream

navi-stream grammar for the tree-sitter parsing library

4 releases

0.0.4 Apr 10, 2024
0.0.3 Feb 28, 2024
0.0.2 Feb 28, 2024
0.0.1 Feb 20, 2024

#204 in Text editors

Download history 3/week @ 2024-07-30 7/week @ 2024-09-24 1/week @ 2024-10-01

293 downloads per month

MIT license

2.5MB
84K SLoC

C 83K SLoC // 0.0% comments JavaScript 1K SLoC // 0.1% comments Scheme 206 SLoC // 0.1% comments Rust 34 SLoC // 0.4% comments

tree-sitter-navi-stream

Navi Stream language support for tree-sitter.

cargo add tree-sitter-navi-stream

lib.rs:

This crate provides navi_stream 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_stream::language()).expect("Error loading navi_stream grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.8–4MB
~76K SLoC