5 releases
0.0.5 | Mar 14, 2022 |
---|---|
0.0.4 | Mar 13, 2022 |
0.0.3 | Mar 12, 2022 |
0.0.2 | Mar 11, 2022 |
0.0.1 | Mar 11, 2022 |
#475 in Text editors
520KB
19K
SLoC
This crate provides CWScript 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_cwscript::language()).expect("Error loading CWScript grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~76K SLoC