Data Types as a More Ergonomic Frontend for Grammar-Guided Genetic Programming
summary
Proposes encoding grammars as an internal DSL in the host language (Python), uses the host type system for autocomplete, linting and type checks, and implements Meta-Handlers to override tree generation and express attribute-grammar semantics (e.g. age constrained 0–200, probabilistic primaries with 3× weight). Provides a working Python implementation and empirical comparison to PonyGE2 on 5 benchmarks showing comparable runtime and same expressive power as BNF/EBNF plus attribute grammars, with measurably better ergonomics for non‑CS users.
AI-written summary · about
