Extended Attribute Grammars

Forfattere

  • David A. Watt

DOI:

https://doi.org/10.7146/dpb.v10i105.6520

Resumé

Two new formalisms are introduced: extended attribute grammars, which are capable of defining completely the syntax of programming languages, and extended attributed trans!ation grammars, which are additionally capable of defining their semantics by translation. These grammars are concise and readable, and their suitability for language definition is demonstrated by a realistic example. The suitability of a large class of these grammars for compiler construction is also established, by borrowing the techniques already developed for attribute grammars and affix grammars.

Revised version of Glasgow Report No.10

Forfatterbiografi

David A. Watt

Downloads

Publiceret

1981-06-01

Citation/Eksport

Watt, D. A. (1981). Extended Attribute Grammars. DAIMI Report Series, 10(105). https://doi.org/10.7146/dpb.v10i105.6520