2 releases
0.1.1 | Aug 31, 2023 |
---|---|
0.1.0 | Aug 31, 2023 |
#387 in Text editors
17MB
742K
SLoC
tree-sitter-jslt
jslt grammar for tree-sitter
lib.rs
:
This crate provides jslt 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_jslt::language()).expect("Error loading jslt grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~75K SLoC