Skip to content

Commit 91028b4

Browse files
reid-spencerclaude
andcommitted
Add comprehensive GBNF grammar test suite
Validates the generated GBNF grammar for correctness: syntax validation, completeness check, override coverage, EBNF-to-GBNF rule coverage, and freshness verification. Integrated into CI alongside existing EBNF validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7cb49ce commit 91028b4

2 files changed

Lines changed: 670 additions & 0 deletions

File tree

.github/workflows/scala.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ jobs:
198198
cd language/jvm/src/test/python
199199
python ebnf_to_gbnf.py --check
200200
201+
- name: Validate GBNF Grammar
202+
run: |
203+
cd language/jvm/src/test/python
204+
python gbnf_validator.py --skip-freshness
205+
201206
dependency-check:
202207
timeout-minutes: 15
203208
permissions:

0 commit comments

Comments
 (0)