#tree-sitter #incremental #parser #awa5-rs #awasm

tree-sitter-awa5_rs

AWA5.RS grammar for tree-sitter

5 releases

0.1.4 Oct 13, 2024
0.1.3 Jul 30, 2024
0.1.2 Jul 28, 2024
0.1.1 Jul 26, 2024
0.1.0 Jul 25, 2024

#175 in Text editors

Download history 296/week @ 2024-07-22 175/week @ 2024-07-29 4/week @ 2024-09-16 4/week @ 2024-09-23 6/week @ 2024-09-30 93/week @ 2024-10-07 56/week @ 2024-10-14

149 downloads per month

MIT license

120KB
4K SLoC

C 3.5K SLoC JavaScript 124 SLoC Rust 30 SLoC // 0.2% comments Scheme 20 SLoC // 0.3% comments

tree-sitter-awa5_rs

AWA5.RS grammar for tree-sitter


lib.rs:

This crate provides Awa5Rs 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 = r#"
"#;
let mut parser = tree_sitter::Parser::new();
parser.set_language(&tree_sitter_awa5_rs::language()).expect("Error loading Awa5Rs grammar");
let tree = parser.parse(code, None).unwrap();
assert!(!tree.root_node().has_error());

Dependencies

~3–4MB
~79K SLoC