First page Back Continue Last page Overview Graphics
What can't PEGs express directly?
Ambiguous languages
- That's what CFGs were designed for!
Globally disambiguated languages?
State- or semantic-dependent syntax
- C, C++ typedef symbol tables
- Python, Haskell, ML layout