Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A PEG is not actually a generative grammar but a domain-specific language for specifying top-down parsers. So they are free of conflicts and ambiguities by definition of their semantics.

PEG is actually just syntactic sugar on top of (G)TDPL: https://en.wikipedia.org/wiki/Top-down_parsing_language



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: