3 releases
0.0.3 | Feb 29, 2024 |
---|---|
0.0.2 | Feb 11, 2024 |
0.0.1 | Feb 8, 2024 |
#484 in Text editors
64 downloads per month
36KB
1K
SLoC
This crate provides pmf 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_pmf::language()).expect("Error loading pmf grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.8–4MB
~76K SLoC