Syntax-Directed Editing

> Literature references and annotations by Dick Grune,
Last update: Tue Sep 15 10:38:36 2009.

These references and annotations were originally intended for personal use and are presented here only in the hope that they may be useful to others. There is no claim to completeness or even correctness. Each annotation represents my understanding of the text at the moment I wrote the annotation.
> No guarantees given; comments and content criticism welcome.

* T.F. Lunney, R.H. Perrott, Syntax-directed editing, Software Eng. J., vol. 3, #2, March 1988, pp. 37-46.
Survey paper. ???
     Text-oriented versus syntax-directed editing, or how to modify a syntactically correct program.
clipping to temporary tree + structure conversion operators.
matched replacement of one template by another
good down to a certain level only; not good for expressions. there: flatten node to text, edit, reparse to node.
also possible: continuous reparse during editing (invisibly) → suggesting possible.
     Program display.
Windowing: have more windows, e.g. one showing procedure heading, one showing declarations and one showing statements.
syntactic elision: compressing part of the text by replacing it by dots.
holophrasting: compressing part of the text by replacing it by its syntactic name.
automatic formatting: have several layouts for a syntactic construction, progressively narrower, to be used as screen width allows.
comments: have a mode to emphasize comments rather than code.
program construction: difference between creating and modifying.
     With bibliography and evaluation of twelve SDEs.