Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Automatically generating visual syntax-directed editors
Arefi F., Hughes C., Workman D. Communications of the ACM33 (3):349-360,1990.Type:Article
Date Reviewed: Dec 1 1991

The authors have developed a conceptual framework for a system that automatically generates object-oriented, syntax-directed editors for visual languages from their specifications. The system consists of two components: the specification language and the generator. The specification language is used to define the syntax and semantics of visual programming languages. The generator uses a specification of a language as input and produces as output the required syntax-directed editor.

A unified mechanism is proposed for specifying both a language and its editing manipulations. In the terms of this paper, if one considers the rewriting of the nonterminals of a context-free grammar as the editing operation “expand,” then a context-free grammar defines a collection of context-free, sentential forms as successive results of applying the “expand” operation. This is why syntax-directed editors are so elegant for program entry when the only editing operation is the expansion of nonterminals. In existing syntax-directed editors, modifications such as “if-to-while” (replace an “if” with a “while” operator having the same values of “condition” and “stmt”) are awkward because they are neither considered nor specified in the language. Such problems can be avoided using the proposed specification mechanism, which allows the user to define a language as one initial object and a collection of editing operations. Any object that can be obtained by applying a sequence of allowed editing operations is then defined to be in the language.

This paper fulfills its basic purpose--to formally describe the main results of the authors’ work and to point out some remaining problems. The intended audience consists mainly of designers of programming languages and programming environments.

Reviewer:  D. D. Novatchev Review #: CR114510
Bookmark and Share
 
Program Editors (D.2.3 ... )
 
 
Languages (I.7.1 ... )
 
 
Syntax (D.3.1 ... )
 
 
Language Constructs and Features (D.3.3 )
 
 
Requirements/ Specifications (D.2.1 )
 
Would you recommend this review?
yes
no
Other reviews under "Program Editors": Date
A display editor with random access and continuous control
Hammer J. International Journal of Man-Machine Studies 21(3): 203-212, 1984. Type: Article
Dec 1 1985
Showing programs on a screen
Meyer B., Nerson J. (ed), Ko S. Science of Computer Programming 5(2): 111-142, 1985. Type: Article
Dec 1 1985
Row replacement algorithms for screen editors
Meyers E., Miller W. ACM Transactions on Programming Languages and Systems 11(1): 33-56, 1989. Type: Article
Apr 1 1990
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy