Problem: embedding the CLI version used to generate a parser triggers CI failures on all grammars for every (patch) release of tree-sitter, even if there are no actual parser changes. Solution: do not embed the version; instead rely on whether the update introduces actual (presumably desirable) changes in the parser to indicate regeneration is necessary. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Tree-sitter Generate
This helper crate implements the logic for the tree-sitter generate command,
and can be used by external tools to generate a parser from a grammar file.