|
ABSTRACT
Attribute grammars require copy rules to transfer values between attribute instances distant in an attributed parse tree. We introduce copy bypass attribute propagation that dynamically replaces copy rules with nonlocal dependencies, resulting in faster incremental evaluation. A evaluation strategy is used that approximates a topological ordering of attribute instances. The result is an efficient incremental evaluator that allows multiple subtree replacement on any noncircular attribute grammar.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Alan Demers , Anne Rogers , Frank Kenneth Zadeck, Attribute propagation by message passing, Proceedings of the ACM SIGPLAN 85 symposium on Language issues in programming environments, p.43-59, June 25-28, 1985, Seattle, Washington, United States
|
| |
2
|
{J84} Johnson, Gregory F. An approach to incremental semantics. TR 547, University of Wisconsin, Madison, July 1984.
|
 |
3
|
|
| |
4
|
{K80} Kastens, U. Ordered attribute grammars. <i>Acta Inf.</i> 13, 3, 1980, pp. 229--256.
|
| |
5
|
|
| |
6
|
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
 |
10
|
|
| |
11
|
{Y83} Yeh, Dashing, On Incremental Evaluation of Ordered Attributed Grammars. <i>BIT 23,</i> 1983, 308--320.
|
|