#parser #incremental #navi-stream

tree-sitter-navi-stream

navi-stream grammar for the tree-sitter parsing library

4 releases

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

#260 in Text editors

Download history 121/week @ 2024-02-16 231/week @ 2024-02-23 58/week @ 2024-03-01 8/week @ 2024-03-08 2/week @ 2024-03-15 39/week @ 2024-03-29 111/week @ 2024-04-05

153 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.7–4MB
~71K SLoC