ACM Transactions on Programming Languages and Systems · 1983 · 258 citations · 27 references
ComputingComputer ScienceComputer SystemsCompilersNatural Language ProcessingProgramming LanguagesContext DependenceContextual AnalysisLanguage ModelingContext-sensitive Analysis
Knowledge of a programming language's grammar allows language-based editors to enforce syntactic correctness at all times during development by restricting editing operations to legitimate modifications ot ~ the program's context-free derivation tree; however, not all language constraints can be enforced in this way because not all features can be described by the context-free formalism. Attribute grammars permit context-dependent language features to be expressed in a modular, declarative fashion and thus are a good basis for specifying language-based editors. Such editors represent programs as attributed trees, Which are modified by operations such as subtree pruning and grafting. Incremental analysis is performed by updating attribute values after every modification. This paper discusses how updating can be carried out and presents several algorithms for the task, including one that is asymptotically optimal in time.
27
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
An Incremental Programming Environment
Raúl Medina‐Mora, Peter H. Feiler · IEEE Transactions on Software Engineering · 1981 · 194 citations