Repository navigation
fix(rust): use maintained Orchard grammar for pinned source - #512
Merged
Merged
Conversation
ssmith-synaptixs
marked this pull request as ready for review
October 5, 2026 17:51
mbinder45
approved these changes
Oct 5, 2026
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The comment on tree-sitter-rust PR #319 identified the maintained Grammar Orchard fork, which already parses the Rust field attributes that block Spine's pinned Synaptreesitter census. Replace the optional
[rust]grammar with publishedtree-sitter-rust-orchard==0.16.8and adapt#[path]module handling to Orchard's nested attribute CST.This also updates Rust validation records and checks source-only grammar installation on macOS and Windows in CI. Upstream PR #319 can remain open; this change does not depend on its merge.
Validation
867aa6d: 109/109 tracked.rsfiles parse withoutERROR(stock grammar: one file, four error lines). Pinned itoa: 5/5 clean.verify_batchhas zero errors and warnings, matching the previous patched-grammar baseline.orchestrator pkg accuracy --check: zero gated regressions. Focused extractor/scope/verifier/grounding/doctor tests: 151 passed; dedicated syntax regression passes.Remaining gates
Details:
docs/evals/rust-orchard-grammar-validation.md.