#parser #incremental #emden

tree-sitter-emden

emden grammar for the tree-sitter parsing library

1 unstable release

0.0.1 Oct 21, 2023

#232 in #parsing

23 downloads per month

MIT license

55KB
2K SLoC

C 1.5K SLoC JavaScript 40 SLoC Rust 32 SLoC // 0.4% comments Scheme 24 SLoC

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

Dependencies

~2.7–4MB
~71K SLoC