7 releases
| 0.3.2 | Nov 17, 2025 |
|---|---|
| 0.3.1 | Oct 26, 2025 |
| 0.2.1 | Oct 4, 2025 |
| 0.1.1 | Aug 1, 2025 |
#1220 in Parser implementations
2,405 downloads per month
Used in 2 crates
6MB
201K
SLoC
This crate provides DartOrchard language support for the tree-sitter parsing library.
Typically, you will use the LANGUAGE constant to add this language to a
tree-sitter Parser, and then use the parser to parse some code:
let code = r#"
"#;
let mut parser = tree_sitter::Parser::new();
let language = tree_sitter_dart_orchard::LANGUAGE;
parser
.set_language(&language.into())
.expect("Error loading Dart parser");
let tree = parser.parse(code, None).unwrap();
assert!(!tree.root_node().has_error());
tree-sitter-dart-orchard
This is a fork of the tree-sitter-dart grammar. It focuses on:
- faithfulness of the trees produced to the language semantics
- proactive reviewing of contributions and onboarding of their authors into the project, via the governance model
Note that unlike upstream, generated files are not checked into git, so you need to run tree-sitter generate after cloning this repository.
Contributions are welcome, so are co-maintainers.