2010 · 30 citations · 12 references
ComputingComputer ScienceAlgorithmsNatural Language ProcessingSyntaxGrammarParsingSyntactic AnalysisSyntactic ParsingSyntax AnalysisSyntax ParsingLanguage ParsingLr ParsingPackrat ParsingParser DesignParser GeneratorsParsing AlgorithmsTree Grammars
Packrat parsing is a powerful parsing algorithm presented by Ford in 2002. Packrat parsers can handle complicated grammars and recursive structures in lexical elements more easily than the traditional LL(k) or LR(1) parsing algorithms. However, packrat parsers require O(n) space for memoization, where n is the length of the input. This space inefficiency makes packrat parsers impractical in some applications. In our earlier work, we had proposed a packrat parser generator that accepts grammars extended with cut operators, which enable the generated parsers to reduce the amount of storage required.
12
Yacc : Yet Another Compiler Compiler
S. C. Johnson, Murray Hill · 1978 · 1.2K citations
Bryan Ford · 2004 · 409 citations
Computing, Computer Science, Natural Language Processing +16
Better extensibility through modular syntax
Robert Grimm · ACM SIGPLAN Notices · 2006 · 128 citations
Computing, Computer Science, Natural Language Processing +16