ACM Home Page
Please provide us with feedback. Feedback
Incremental evaluation for attribute grammars with application to syntax-directed editors
Full text PdfPdf (999 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 8th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
Williamsburg, Virginia
Pages: 105 - 116  
Year of Publication: 1981
ISBN:0-89791-029-X
Authors
Alan Demers  Cornell University, Ithaca, NY
Thomas Reps  Cornell University, Ithaca, NY
Tim Teitelbaum  Cornell University, Ithaca, NY
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 31,   Citation Count: 58
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/567532.567544
What is a DOI?

ABSTRACT

A syntax-directed editor is a tool for structured program development. Such an editor can enforce syntactic correctness incrementally by restricting editing operations to legitimate modifications of the program's context-free derivation tree. However, not all language features can be described by the context-free formalism. To build editors that enforce non-context-free correctness, a more powerful specification technique is needed. In this paper we discuss the advantages of attribute grammars as a specification technique for a syntax-directed editing system. We also present an efficient algorithm for incrementally evaluating attributes as a program tree is derived.


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
Babich, W. A. and Jazayeri, M. The method of attributes for data flow analysis. part I: exhaustive analysis, part II: demand analysis. Acta Informatica 10, 3 (0ctober 1978), 245-272.
2
3
 
4
Donzeau-Gouge, V., Huet, G., Kahn, G., Lang B., and Levy, J. J. A structure-oriented program editor. Technical Report, IRIA-LABORIA, France 1975.
 
5
Donzeau-Gouge, V., Huet, G., Kahn, G., and Lang B. Programming environments based on structured editors: the MENTOR experience. Technical Report, INRIA, France, May 1980.
 
6
Fang, I. FOLDS, a declarative formal language definition system. Tech. Report No. STAN-CS-72-329, Computer Science Dept., Stanford University, December 1972.
 
7
 
8
 
9
10
11
 
12
Knuth, D. E. Semantics of context free languages. Math. Systems Theory J. 2, 2 (1968), 127-145.
 
13
Lewis, P. M., Rozenkranz, D. J., and Stearns, R. E. Attributed translations. J. of Comp. and Systems Sciences 9, 3 (December 1974), 279-307.
 
14
Mikelsons, M. and Wegman, M. N. PDE1L: The PL1L program development environment principles of operation. Research report RC8513, IBM Watson Research Center, Yorktown Heights, November 1980.
 
15
Reps, T. The Synthesizer Editor Generator. In preparation.
 
16
Skedzeleski, S. K. Definition and use of attribute reevaluation in attributed grammars. Technical Report 340, Computer Sciences Department, University of Wisconsin-Madison, October 1978.
 
17
 
18
Teitelbaum, T. The Cornell Program Synthesizer: a tutorial introduction. Tech. Report No. TR79-381, Dept. Computer Science, Cornell University, July 1979, Revised June 1980.
 
19
Teitelbaum, T. and Reps, T. The Cornell Program Synthesizer: a syntax-directed programming environment. Tech. Report No. TR80-421, Dept. Computer Science, Cornell University, May 1980.
 
20
Warren, S. K. The efficient evaluation of attribute grammars. M. A. Thesis, Rice University, Houston, Texas, April 1975.
 
21
 
22
Wegman, M. N. Parsing for structural editors. Conference Record of the Twenty-first annual Symposium on Foundations of Computer Science, October 1980, 320-327.

CITED BY  58
Collaborative Colleagues:
Alan Demers: colleagues
Thomas Reps: colleagues
Tim Teitelbaum: colleagues