Skip to content

Fix Ruby grammar conformance gaps - #299

Closed
tarebyte wants to merge 3 commits into
tree-sitter:masterfrom
tarebyte:fix/ruby-spec-conformance
Closed

Fix Ruby grammar conformance gaps#299
tarebyte wants to merge 3 commits into
tree-sitter:masterfrom
tarebyte:fix/ruby-spec-conformance

Conversation

@tarebyte

Copy link
Copy Markdown

Summary

  • Fix scanner ambiguity around heredocs, operators, percent literals, regexes, Unicode symbols, and comments.
  • Fix lambda boundaries, ranges, parenthesized returns, endless method command bodies, and declaration comment ownership.
  • Add pinned Prism/ruby-spec conformance coverage, recursively parse CI examples, and clear the valid-Ruby allowlist.
  • Update to Tree-sitter 0.26.13 while preserving parser ABI 14.

References

Validation

  • 326 corpus and highlight tests
  • 4,431 Prism-valid ruby/spec files with zero mismatches
  • 4,433 recursively parsed example files

tarebyte and others added 3 commits August 23, 2026 11:43
* Add Prism syntax conformance testing
* Harden Prism conformance gate
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d800609e-6d1c-43d3-8811-d59ad9495420
@tarebyte

tarebyte commented Aug 23, 2026

Copy link
Copy Markdown
Author

Sorry this was meant for my fork for testing.

@tarebyte tarebyte closed this Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment