tree-sitter.tree-sitter/docs/src/assets
Amaan Qureshi 74b7d0c951 feat!: add an eof function
This commit adds an `eof()` function for grammars, which is easier to
use than the NUL byte directly. It compiles down to a constraint that
the enclosing production can only reduce at end of input, not to a
shiftable token.

BREAKING CHANGE: Public error types for `tree-sitter-generate` were modified.

Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2026-08-21 20:02:58 -04:00
..
css docs(playground): show toast when tree is copied 2025-09-09 03:13:35 -04:00
images docs: move assets to correct path 2024-12-25 21:23:36 -05:00
js fix(playground): update query API 2025-12-23 10:36:40 +02:00
schemas feat!: add an eof function 2026-08-21 20:02:58 -04:00