Skip to content

common/peg-parser : fix parenthesization of wrapped parsers#21285

Closed
aldehir wants to merge 1 commit intoggml-org:masterfrom
aldehir:peg-parser-fix-parenthesization
Closed

common/peg-parser : fix parenthesization of wrapped parsers#21285
aldehir wants to merge 1 commit intoggml-org:masterfrom
aldehir:peg-parser-fix-parenthesization

Conversation

@aldehir
Copy link
Copy Markdown
Contributor

@aldehir aldehir commented Apr 2, 2026

Overview

Fix PEG parser GBNF grammar generation when rules are nested in atomic, tag, and schema. These were not properly grouped, which caused incorrect grammars when using repetition/optional/etc..

Stripped from #21216

Requirements

@aldehir aldehir requested review from a team and ggerganov as code owners April 2, 2026 03:07
@github-actions github-actions Bot added the testing Everything test related label Apr 2, 2026
@aldehir aldehir closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants