M2.1: tree-sitter PHP in crates/syntax

Parser (parse, incremental reparse from lutra_text edits), outline with
UTF-16 ranges and short signatures, folding ranges, 8 MiB parse cap.
Snapshot tests for five PHP 8.3 fixtures, proptests (random bytes,
reparse equals fresh parse, undo round trip), ignored release timing
test. Docs: architecture Syntax section, parity evidence, G4 note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-16 22:06:21 +02:00
parent d12a517009
commit a5236acd7e
25 changed files with 1768 additions and 6 deletions

View file

@ -28,6 +28,8 @@ proptest = "1.12.0"
ignore = "0.4.33"
notify = "8.2.0"
tempfile = "3.27.0"
tree-sitter = "0.26.13"
tree-sitter-php = "0.25.1"
[workspace.lints.rust]
missing_docs = "deny"