ACM Home Page
Please provide us with feedback. Feedback
Remote attribute updating for language-based editors
Full text PdfPdf (2.65 MB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 13th ACM SIGACT-SIGPLAN symposium on Principles of programming languages table of contents
St. Petersburg Beach, Florida
Pages: 1 - 13  
Year of Publication: 1986
Authors
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 13,   Citation Count: 25
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/512644.512645
What is a DOI?

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
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 &amp; 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 &amp; 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
Collaborative Colleagues:
Thomas W. Reps: colleagues
Carla Marceau: colleagues
Tim Teitelbaum: colleagues