Communications of the ACM · 1970 · 817 citations · 5 references
ComputingComputer ScienceAlgorithmsNatural Language ProcessingProgramming LanguagesGrammarParsingSyntactic AnalysisSyntactic ParsingSyntax AnalysisSyntax ParsingBottom-up ParsingContext-free Grammar ParsingParsing AlgorithmsParsing ComplexityParsing With Context-free GrammarsTop-down Parsing
A parsing algorithm which seems to be the most efficient general context-free algorithm known is described. It is similar to both Knuth's LR( k ) algorithm and the familiar top-down algorithm. It has a time bound proportional to n 3 (where n is the length of the string being parsed) in general; it has an n 2 bound for unambiguous grammars; and it runs in linear time on a large class of grammars, which seems to include most practical context-free programming language grammars. In an empirical comparison it appears to be superior to the top-down and bottom-up algorithms studied by Griffiths and Petrick.
5
On the translation of languages from left to right
Donald E. Knuth · Information and Control · 1965 · 792 citations
Jerome A. Feldman, David Gries · Communications of the ACM · 1968 · 199 citations · Full text