One-pass transformations of attributed program trees (Q1079943)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: One-pass transformations of attributed program trees |
scientific article; zbMATH DE number 3965415
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | One-pass transformations of attributed program trees |
scientific article; zbMATH DE number 3965415 |
Statements
One-pass transformations of attributed program trees (English)
0 references
1987
0 references
The classical attribute grammar framework can be extended by allowing the specification of tree transformation rules. A tree transformation rule consists of an input template, an output template, enabling conditions which are predicates on attribute instances of the input template, and re-evaluation rules which define the values of attribute instances of the output template. A tree transformation may invalidate attribute instances which are needed for additional transformations. In this paper we investigate whether consecutive tree transformations and attribute re-evaluations are safely possible during a single pass over the derivation tree. This check is made at compiler generation time rather than at compilation time. A graph theoretic characterization of attribute dependencies is given, showing in which cases the recomputation of attribute instances can be done in parallel with tree transformations.
0 references
attribute grammar
0 references
tree transformation rules
0 references
re-evaluation rules
0 references
derivation tree
0 references
attribute dependencies
0 references