2010 · 65 citations · 41 references
ComputingComputer ScienceCompilersProgramming LanguagesSyntaxCompositional SemanticsParsingSyntactic AnalysisSyntactic ParsingSyntax AnalysisSyntax ParsingDeclarative SemanticsLanguage ParsingLanguage Processing ModelsLanguage SyntaxParser DesignParser GeneratorsParsing Algorithms
Syntax definitions are pervasive in modern software systems, and serve as the basis for language processing tools like parsers and compilers. Mainstream parser generators pose restrictions on syntax definitions that follow from their implementation algorithm. They hamper evolution, maintainability, and compositionality of syntax definitions. The pureness and declarativity of syntax definitions is lost. We analyze how these problems arise for different aspects of syntax definitions, discuss their consequences for language engineers, and show how the pure and declarative nature of syntax definitions can be regained.
41
Yacc : Yet Another Compiler Compiler
S. C. Johnson, Murray Hill · 1978 · 1.2K citations
An efficient context-free parsing algorithm
Jay Earley · Communications of the ACM · 1970 · 817 citations · Full text
On the translation of languages from left to right
Donald E. Knuth · Information and Control · 1965 · 792 citations