|
ABSTRACT
A major drawback to the use of attribute grammars in language-based editors has been that attributes can only depend on neighboring attributes in a program's syntax tree. This paper concerns new attribute-grammar-based methods that, for a suitable class of grammars, overcome this fundamental limitation. The techniques presented allow the updating algorithm to skip over arbitrarily large sections of the tree that more straightforward updating methods visit node by node. These techniques are then extended to deal with aggregate values, so that the attribute updating procedure need only follow dependencies due to a changed component of an aggregate value. Although our methods work only for a restricted class of attribute grammars, satisfying the necessary restrictions should not place an undue burden on the writer of the 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
|
|
 |
2
|
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
|
 |
3
|
|
| |
4
|
{Kastens 1980} Kastens, U. Ordered attribute grammars. <i>Acta Inf. 13,</i> 3 (1980), 229--256.
|
| |
5
|
{Kastens et al. 1982} Kastens, U., Hutt, B., and Zimmermann, E. <i>Lecture Notes in Computer Science,</i> vol. 141: <i>GAG: a Practical Compiler Generator.</i> Springer-Verlag, New York, 1982.
|
 |
6
|
|
 |
7
|
|
| |
8
|
{Knuth 1968} Knuth, D. E. Semantics of context-free languages. <i>Math. Sys. Theory 2,</i> 2 (June 1968), 127--145. Correction. <i>ibid. 5,</i> 1 (Mar. 1971), 95--96.
|
| |
9
|
{Medina-Mora & Notkin 1981} Medina-Mora, R. and Notkin, D. S. ALOE users' and implementors' guide. Tech. Rep. CMU-CS-81-145, Dept. of Computer Science, Carnegie-Mellon Univ., Pittsburgh, Pa., Nov. 1981.
|
 |
10
|
|
| |
11
|
{Reps 1983} Reps, T. Static-semantic analysis in language-based editors. In Digest of Papers of the IEEE Spring CompCon 83, San Francisco, Calif., Mar. 1--3, 1983, pp. 411--414.
|
| |
12
|
|
 |
13
|
|
 |
14
|
|
 |
15
|
|
| |
16
|
{Reps & Teitelbaum 1985} Reps, T. and Teitelbaum, T. The Synthesizer Generator reference manual. Tech. Rep. 84--619, Dept. of Computer Science, Cornell Univ., Ithaca, N.Y., Aug. 1985.
|
| |
17
|
|
| |
18
|
{Yeh 1983} Yeh, D. On incremental evaluation of ordered attributed grammars. <i>BIT 23,</i> (1983), 308--320.
|
CITED BY 25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bowen Alpern , Roger Hoover , Barry K. Rosen , Peter F. Sweeney , F. Kenneth Zadeck, Incremental evaluation of computational circuits, Proceedings of the first annual ACM-SIAM symposium on Discrete algorithms, p.32-42, January 22-24, 1990, San Francisco, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
Bradley T. Vander Zanden , Richard Halterman , Brad A. Myers , Rich McDaniel , Rob Miller , Pedro Szekely , Dario A. Giuse , David Kosbie, Lessons learned about one-way, dataflow constraints in the Garnet and Amulet graphical toolkits, ACM Transactions on Programming Languages and Systems (TOPLAS), v.23 n.6, p.776-796, November 2001
|
|
|
|
|
|
|
|
|
Pei-Chi Wu , Feng-Jian Wang , Kai-Ru Young, An object-oriented specification and its generation for compiler, Proceedings of the 1992 ACM annual conference on Communications, p.323-330, March 03-05, 1992, Kansas City, Missouri, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|