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

Download history 16/week @ 2025-08-26 158/week @ 2025-09-02 98/week @ 2025-09-09 150/week @ 2025-09-16 56/week @ 2025-09-23 657/week @ 2025-09-30 930/week @ 2025-10-07 553/week @ 2025-10-14 751/week @ 2025-10-21 111/week @ 2025-10-28 331/week @ 2025-11-04 1044/week @ 2025-11-11 713/week @ 2025-11-18 775/week @ 2025-11-25 396/week @ 2025-12-02 216/week @ 2025-12-09

2,405 downloads per month
Used in 2 crates

MIT license

6MB
201K SLoC

C 198K SLoC JavaScript 2.5K SLoC // 0.1% comments Scheme 256 SLoC // 0.1% comments Rust 34 SLoC // 0.1% comments

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

crates pypi

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.

Dependencies