tree-sitter.tree-sitter/crates/generate
Will Lillis 78267a0a96 fix(generate): merge anonymous token aliases in node-types.json
When an anonymous token alias and an anonymous syntax-node alias have
the same name, node-types.json emits two entries with the same type and
named status. For example,

```
alias($._node, "same")
```
and

```
alias("!", "same")
```

produce separate anonymous "same" entries. Add anonymous tokens to
the node-type map instead. When a token shares an identity with a
structured node, retain its possible children and fields but mark
them as optional because the token appearance is a leaf.
2026-08-23 13:40:32 -04:00
..
src fix(generate): merge anonymous token aliases in node-types.json 2026-08-23 13:40:32 -04:00
Cargo.toml build(deps): bump rquickjs to v0.12.2 2026-07-29 02:21:32 +02:00
LICENSE chore: copy license to all packages 2025-09-11 03:12:35 -04:00
README.md Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00

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.