|
ABSTRACT
Attribute grammars permit the specification of static semantics in an applicative and modular fashion, and thus are a good basis for syntax-directed editors. Such editors represent programs as attributed trees, which are modified by operations such as subtree pruning and grafting. After each modification, a subset of attributes, AFFECTED, requires new values. Membership in AFFECTED is not known a priori; this paper presents an algorithm that identifies attributes in AFFECTED and computes their new values. The algorithm is time-optimal, its cost is proportional to the size of AFFECTED.
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
|
{DHK} Donzeau-Gouge, V., Huet, G., Kahn, G., Lang B., and Levy, J.J. A structure-oriented program editor. Technical Report, IRIA-LABORIA, France 1975.
|
| |
4
|
|
 |
5
|
|
| |
6
|
|
| |
7
|
{Knu 68b} Knuth, D.E. Semantics of context-free languages. Mathematical Systems Theory 2, 2 (1968), 127--145.
|
| |
8
|
{Knu 71} Knuth, D.E. Semantics of context-free languages: correction. Mathematical Systems Theory 5, 1 (1971), 95--96.
|
| |
9
|
{LRS} Lewis, P.M., Rosenkrantz, D.J., and Stearns, R.E. Attributed translations. Journal of Computer and Systems Sciences 9, 3 (December 1974), 279--307.
|
| |
10
|
{MeF} Medina-Mora, R. and Feiler, P. An incremental programming environment. IEEE Transactions on Software Engineering SE-7, 5 (September 1981) 472--482.
|
| |
11
|
{MiW} 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.
|
| |
12
|
{Rep} Reps, T. The Synthesizer Editor Generator: Reference Manual. September 1981.
|
 |
13
|
|
 |
14
|
|
|