#bucket #parser #incremental

tree-sitter-bucket

bucket grammar for the tree-sitter parsing library

3 releases

0.0.3 Mar 3, 2024
0.0.2 Mar 3, 2024
0.0.1 Mar 3, 2024

#251 in Text editors

Download history 292/week @ 2024-03-02 25/week @ 2024-03-09 46/week @ 2024-03-30 6/week @ 2024-04-06 154/week @ 2024-04-13

206 downloads per month

MIT license

38KB
1K SLoC

C 1K SLoC JavaScript 45 SLoC Rust 31 SLoC // 0.5% comments Scheme 7 SLoC

This crate provides bucket 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_bucket::language()).expect("Error loading bucket grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.7–4MB
~71K SLoC