1 unstable release
0.0.1 | Jun 25, 2022 |
---|
#119 in #parsing
Used in yabo
130KB
4.5K
SLoC
tree-sitter grammar for yabo
Used in the compiler itself right now, therefore should always match the implementation.
lib.rs
:
This crate provides yabo 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_yabo::language()).expect("Error loading yabo grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~75K SLoC