1981 · 191 citations · 12 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSyntaxGrammarSpecification LanguagesSyntactic AnalysisSyntax AnalysisSyntax ParsingSyntax-semantics InterfaceSyntax EditingSyntax-directed Evaluation
A syntax-directed editor is a tool for structured program development. Such an editor can enforce syntactic correctness incrementally by restricting editing operations to legitimate modifications of the program's context-free derivation tree. However, not all language features can be described by the context-free formalism. To build editors that enforce non-context-free correctness, a more powerful specification technique is needed. In this paper we discuss the advantages of attribute grammars as a specification technique for a syntax-directed editing system. We also present an efficient algorithm for incrementally evaluating attributes as a program tree is derived.
12
Semantics of context-free languages
Donald E. Knuth · Theory of Computing Systems · 1968 · 2K citations
The Cornell program synthesizer
Tim Teitelbaum, Thomas Reps · Communications of the ACM · 1981 · 709 citations · Full text
Semantic evaluation from left to right
Gregor von Bochmann · Communications of the ACM · 1976 · 191 citations · Full text