Grammar tables: one authored pattern, two runtimes, proven per vector
The cross-runtime contract that makes shared grammars safe: Python compiles with re.ASCII and JS without the u flag, pinning digit, word, and boundary classes to identical semantics; named groups are authored JS-style and translated for Python; the validator bans what genuinely diverges. Two pilot grammars ride the whole pipe with shared vectors; the round-trip test executes both runtimes, and the validator caught its first real authoring error before the first commit. Python loader lives in the engine subrepo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | c66a410a |
| Stats | 3 files changed , +316 |
| Part of | Deterministic legal-text tools ("SLA audit organs") |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-013aca10.md
from inside the repo you want the change in.