1975 · 69 citations · 8 references
ComputingComputer ScienceCompilersNatural Language ProcessingProgramming LanguagesAbstract Syntax TreesGrammarSyntactic AnalysisSyntax AnalysisSyntax-directed TranslationSyntax-semantics InterfaceCompiler DesignCompiler-based GenerationContext-free GrammarsLanguage GenerationSyntax-directed Code Generation
In order to make the use of attribute grammars practical in (automatic) compiler generation, restricted attribute grammars are introduced. A membership test is given which determines whether a given attribute grammar satisfies the required restrictions. The major advantage of the restricted attribute grammars is that they are non-circular. The given membership test can be embedded in a compiler writing system which accepts an attribute grammar as input and outputs a compiler for the associated language provided the grammar meets the restrictions. The technique is also applicable to translation grammars of [15]. It is assumed that the reader is familiar with context free grammars but not necessarily with attribute grammars.
8
Semantics of context-free languages
Donald E. Knuth · Theory of Computing Systems · 1968 · 2K citations
Philip Lewis, Richard E. Stearns · Journal of the ACM · 1968 · 340 citations · Full text
Philip Lewis, Daniel J. Rosenkrantz, Richard E. Stearns · Journal of Computer and System Sciences · 1974 · 138 citations