#tree-sitter #incremental #parser #asena

tree-sitter-lura

lura grammar for the tree-sitter parsing library

25 releases

0.1.20 Sep 20, 2023
0.1.19 Aug 12, 2023
0.1.13 Jul 29, 2023
0.0.9 Jul 18, 2023

#432 in Text editors

Download history 30/week @ 2024-09-24 1/week @ 2024-10-01

222 downloads per month

MIT license

3MB
123K SLoC

C 122K SLoC JavaScript 481 SLoC // 0.0% comments Scheme 54 SLoC Rust 33 SLoC // 0.4% comments

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

Dependencies

~2.7–4MB
~76K SLoC