AlgorithmsSystemsEdit on GitHubEdit history
Packrat Parsing
2002
A parsing method that memoizes the result of applying each rule at each input position in a backtracking recursive-descent parser, achieving linear time while allowing unlimited backtracking and lookahead.
Origin
Bryan Ford (2002). Packrat parsing:. ACM ICFP 2002.doi:10.1145/581478.581483 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Derived algorithms
What it led to
Parsing Expression Grammar2004
Author statementFord formalized the recognition-based grammars handled by packrat parsers as the PEG formalism. — doi:10.1145/964001.964011
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…