Alternating semantic evaluator
Mehdi Jazayeri, Kenneth G. Walter · ACM Annual Conference · 1975
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.
Cited by 69 works. doi:10.1145/800181.810328
Authors
References
- Semantics of context-free languages
- Syntax-Directed Transduction
- Attributed translations
- Translations on a context free grammar
- Semantic Interpretation in the REQUEST System.
- Examples of formal semantics
- On attribute grammars and the semantic specification of programming languages.
- Semantic attributes and improvement of generated code
- FOLDS, a declarative formal language definition system
- Removal of invariant statements from nested-loops in a single effective compiler pass