Skip to content

Add Prism syntax conformance testing - #3

Merged
tarebyte merged 2 commits into
masterfrom
prism-syntax-conformance
Aug 23, 2026
Merged

Add Prism syntax conformance testing#3
tarebyte merged 2 commits into
masterfrom
prism-syntax-conformance

Conversation

@tarebyte

@tarebyte tarebyte commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Uses Prism as a syntax oracle without changing the Tree-sitter grammar or runtime parser.

The new CI job checks a pinned ruby/spec revision and requires every Prism-valid UTF-8 file to parse without Tree-sitter recovery errors. Seven existing parser mismatches are explicitly allowlisted; new mismatches and stale allowlist entries fail CI.

The README’s outdated Whitequark AST reference is replaced with a link identifying Prism as the conformance oracle.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: adff7d4f-9ef2-4616-a7b0-f819cbf53792
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: adff7d4f-9ef2-4616-a7b0-f819cbf53792
@tarebyte
tarebyte merged commit f884a2a into master Aug 23, 2026
4 checks passed
@tarebyte
tarebyte deleted the prism-syntax-conformance branch August 23, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant