Z - the 95% program editor
- 1 April 1981
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGOA Newsletter
- Vol. 2 (1-2) , 1-7
- https://doi.org/10.1145/1159890.806447
Abstract
Recently much attention has been focused on structure-oriented program editors that have specific knowledge about the syntax and semantics of a particular programming language [1, 4, 5, 18]. These editors provide many desirable features for editing programs. However, the user interface is constrained by the syntax and semantics of the target language, and editing operations that are simple in a text editor can be quite complicated in a structure-oriented editor. In addition, the user has an editor that is limited to a single language and must use a different editor for text editing. Existing implementations of structure-oriented editors use a parse-tree representation for a program along with a supporting lexical analyzer, parser, and pretty-printer; this representation significantly complicates the implementation of an editor. We believe that the most natural representation of programs is text and that the editor should be able to take advantage of the same visual cues that programmers use to understand their programs. With a text-oriented model of program structure, the editor is both a program editor and a document editor. As a program editor it provides features to support many different programming languages, such as LISP, APL, PASCAL, and BLISS. As a document editor it provides basic word-processing functions such as text justification and spelling correction. A text orientation considerably simplifies the design of the editor and presents the user with a simple but powerful model of program structure. This paper describes a text-oriented display editor called Z. Z is the production editor in the Yale Computer Science Department.Keywords
This publication has 7 references indexed in Scilit:
- A high-level approach to computer document formattingPublished by Association for Computing Machinery (ACM) ,1980
- Multics Emacs (Prose and Cons)Published by Association for Computing Machinery (ACM) ,1980
- Exact and approximate membership testersPublished by Association for Computing Machinery (ACM) ,1978
- The UNIX time-sharing systemCommunications of the ACM, 1974
- A CRT editing systemCommunications of the ACM, 1972
- BLISSCommunications of the ACM, 1971
- A research center for augmenting human intellectPublished by Association for Computing Machinery (ACM) ,1968