1989 · 68 citations · 9 references
ComputingComputer ScienceNatural Language ProcessingProgramming LanguagesSyntaxGrammarParsingSyntactic AnalysisSyntactic ParsingSyntax AnalysisSyntax ParsingContext-free Grammar ParsingContext-free GrammarsGrammar FormalismsLanguage ParsingParser DesignParsing AlgorithmsParsing TheoryParsing With Context-free Grammars
The disadvantages of traditional two-phase parsing (a scanner phase preprocessing input for a parser phase) are discussed. We present metalanguage enhancements for context-free grammars that allow the syntax of programming languages to be completely described in a single grammar. The enhancements consist of two new grammar rules, the exclusion rule, and the adjacency-restriction rule. We also present parser construction techniques for building parsers from these enhanced grammars, that eliminate the need for a scanner phase.
9
Introduction to automata theory, languages, and computation
Computer Languages · 1980 · 6.9K citations
Regular right part grammars and their parsers
Wilf R. LaLonde · Communications of the ACM · 1977 · 44 citations · Full text
G. D. P. Dueck · The Computer Journal · 1990 · 34 citations · Full text