#parser

tree-sitter-eds

eds grammar for the tree-sitter parsing library

1 unstable release

0.0.1 Sep 10, 2023

#4065 in #parser

MIT license

17KB
458 lines

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

Dependencies

~2.7–4MB
~73K SLoC