AlgorithmsSystemsEdit on GitHubEdit history
Parsing Expression Grammar
PEG2004
A recognition-based formal grammar with prioritized choice, which tries alternatives in order and takes the first that succeeds, and syntactic predicates. It is unambiguous and can be processed in linear time with packrat parsing.
Origin
Bryan Ford (2004). Parsing expression grammars. ACM POPL 2004.doi:10.1145/964001.964011 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Packrat Parsing2002
Author statementFord formalized the recognition-based grammars handled by packrat parsers as the PEG formalism. — doi:10.1145/964001.964011
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…