Attribute Grammars

  • William M. Waite
  • Gerhard Goos
Part of the Texts and Monographs in Computer Science book series (MCS)


Semantic analysis and code generation are based upon the structure tree. Each node of the tree is ‘decorated’ with attributes describing properties of that node, and hence the tree is often called an attributed structure tree for emphasis. The information collected in the attributes of a node is derived from the environment of that node; it is the task of semantic analysis to compute these attributes and check their consistency. Optimization and code generation can be also described in similar terms, using attributes to guide the transformation of the tree and ultimately the selection of machine instructions.


Structure Tree Dependency Graph Dependency Relation Condition Coercible Local Definition 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York Inc. 1984

Authors and Affiliations

  • William M. Waite
    • 1
  • Gerhard Goos
    • 2
  1. 1.Department of Electrical EngineeringUniversity of ColoradoBoulderUSA
  2. 2.Institut für Informatik IIUniversität KarlsruheWest Germany

Personalised recommendations