7 releases

0.2.5 Nov 28, 2025
0.2.4 Nov 8, 2025
0.1.0 Nov 6, 2025

#2132 in Parser implementations

Download history 18/week @ 2025-11-04 613/week @ 2025-11-11 571/week @ 2025-11-18 734/week @ 2025-11-25 310/week @ 2025-12-02 187/week @ 2025-12-09 278/week @ 2025-12-16 143/week @ 2025-12-23 251/week @ 2025-12-30 386/week @ 2026-01-06 390/week @ 2026-01-13 319/week @ 2026-01-20 637/week @ 2026-01-27 726/week @ 2026-02-03 488/week @ 2026-02-10

2,226 downloads per month
Used in 4 crates

MIT license

1MB
25K SLoC

C 25K SLoC JavaScript 368 SLoC // 0.2% comments Rust 33 SLoC // 0.1% comments Scheme 18 SLoC // 0.1% comments

This crate provides Clojure 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_clojure_orchard::LANGUAGE;
parser
    .set_language(&language.into())
    .expect("Error loading Clojure parser");
let tree = parser.parse(code, None).unwrap();
assert!(!tree.root_node().has_error());

tree-sitter-clojure-orchard

crates pypi

This is a fork of the tree-sitter-clojure grammar.

Note that unlike upstream, generated files are not checked into git, so you need to run tree-sitter generate after cloning this repository. Generated files are also available in the archives found in releases.

Contributions are welcome, so are co-maintainers.

Dependencies

~17–250KB