mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
|
|
||
|---|---|---|
| .. | ||
| src | ||
| wasm | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Tree-sitter Language
This crate provides a LanguageFn type for grammars to create Language instances from a parser,
without having to worry about the tree-sitter crate version not matching.
When targeting wasm32-unknown-unknown, this crate also provides the C headers
needed to compile generated parsers and external scanners. The final
tree-sitter Rust application supplies the corresponding libc-compatible
implementations.