Abstract
This paper will describe how a structure-oriented text editor, named ED3, is used as a practical and efficient tool for program development and maintenance. Unlike syntax-directed editors this editor does not use its tree structure to represent the parse tree of the program. Instead the user is free to build any tree structure of text nodes he wants. For a block structured language the tree can be built the same way procedures are defined inside procedures.
The tree structure helps the programmer handle big programs. Browsing is supported by menus automatically created from the first line of each node. To enter or modify a text node, a screen-oriented text editor is used. Syntax checking (currently for Pascal and Ada) is done by a fast combined parser/pretty-printer. A single-key command will parse and pretty-print the current text node.
This work is supported by STU, the Swedish Board for Technical Development.
Preview
Unable to display preview. Download preview PDF.
References
Fisher, C.N., et al., The Poe Language-Based Editor Project, SIGPLAN Notices, vol 19, no 5 (1984), pp 21–29.
Stallman, R.M., EMACS the Extensible, Customizable Self-Documenting Display Editor, Proc. of ACM SIGPLAN-SIGOA Symposium on Text Manipulation, SIGPLAN Notices, vol 19, no 6 (1981), pp 147–156.
Strömfors, O., and Jonesjö, L., The Implementation and Experiences of a Structure-Oriented Text Editor. Proc. of ACM SIGPLAN-SIGOA Symposium on Text Manipulation, SIGPLAN Notices, vol 19, no 6 (1981), pp 22–27.
Teitelbaum, T., and Reps, T., The Cornell Program Synthesizer: A syntax-directed programming environment. Commun. ACM vol 24, no 9 (1981), pp 563–573.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1987 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Strömfors, O. (1987). Editing large programs using a structure-oriented text editor. In: Conradi, R., Didriksen, T.M., Wanvik, D.H. (eds) Advanced Programming Environments. Lecture Notes in Computer Science, vol 244. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-17189-4_86
Download citation
DOI: https://doi.org/10.1007/3-540-17189-4_86
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-17189-8
Online ISBN: 978-3-540-47347-3
eBook Packages: Springer Book Archive