7 releases
| 0.2.5 | Nov 28, 2025 |
|---|---|
| 0.2.4 | Nov 8, 2025 |
| 0.1.0 | Nov 6, 2025 |
#2132 in Parser implementations
2,226 downloads per month
Used in 4 crates
1MB
25K
SLoC
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
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