qgrammar: A Certified Grammar Compiler for Chiral Gauge Matter — typed record alphabets, anomaly certificates, repair searches, and UFO back ends. The working-compiler artifact for the quantum-grammar programme: a public Python package (github. com/dgedge/grammar) defining a typed particle record, a finite response alphabet, vertex productions as typed rewrite rules, exact rational anomaly certificates (one SM generation + nuR: sixteen Weyl states, four anomaly sums exactly zero), a semiring parser (Boolean/counting/tropical/complex), a minimal repair engine for illegal processes (sterile photon read, mu -> e gamma, mono-photon + MET), and a UFO scaffold exporter with a MadGraph import smoke test. A certified front end for the existing HEP stack, not a rival simulator: syntax first, response weights second. This record is part of the finite-QEC substrate / It-from-Bit publication refresh. 2026-07-08 canon refresh: This version incorporates the 2026-07-08 ANCHOR/DRIFT/PTMS canon refresh and rebuilt local PDF.
David Elliman (Wed,) studied this question.