The conventional approach to the construction of a program is to view it as a sequence of characters. However, it is now becoming more meaningful to perceive and develop a program in terms of its inherent syntactic st...
详细信息
The conventional approach to the construction of a program is to view it as a sequence of characters. However, it is now becoming more meaningful to perceive and develop a program in terms of its inherent syntactic structure. This paper introduces the topic of syntax-directed editing in general and then considers some of the problems and design decisions that are encountered when implementing a syntax-directed system. An overview of a range of structure-oriented editors exhibiting varying degrees of syntax direction is also included.
Visual programming is widely adopted in learning, usually with jigsaw-style blocks that may be freely placed on a canvas. While grammatical correctness is forced by the allowed compositions, syntactic information is n...
详细信息
ISBN:
(数字)9781665442145
ISBN:
(纸本)9781665442152;9781665442145
Visual programming is widely adopted in learning, usually with jigsaw-style blocks that may be freely placed on a canvas. While grammatical correctness is forced by the allowed compositions, syntactic information is not communicated to learners, causing the underlying language grammar to be experientially assimilated. But grammars are crucial for the deeper understanding of languages, since syntax reflects all important semantic aspects and elements. We present a general-purpose syntax-directed visual editor with syntactic tooltips, accepting as input the grammar of the subject language. It adopts a block-based visual style for program elements. However, contrasting to the typical canvas layout, it supports a row-based grid for spatial organization, enabling newlines and indentation. It also allows users view the production chain of any program element for a better understanding of the language. Our early evaluation findings indicate that such a combination of interactive syntax and visual code blocks is very positively received by learners.
The front end of the software life cycle is an important phase in the development of quality software systems. Due to the interactive nature of the requirements specification phase, automated tools assist in capturing...
详细信息
The front end of the software life cycle is an important phase in the development of quality software systems. Due to the interactive nature of the requirements specification phase, automated tools assist in capturing user concepts and conveying these concepts to the developers. This paper presents a syntax-directed editor developed for the Descartes software specification language. The editor helps in constructing the specifications by detecting and preventing syntactic and static semantic errors. The editor uses the visual notation of Nassi-Shneiderman charts for the external representation of Descartes specifications. The specifications are edited in their visual form directly within the editor. Use of a syntax-directed editor for the construction of Descartes specifications is expected to reduce specification errors, enhance constructibility, and in turn increase productivity. (C) 1997 by John Wiley & Sons, Ltd.
Discusses a system of programs that is described by a family of editing operations and automatically generates object-oriented, syntax-directed editors for visual programming languages. Traditional use of text editors...
详细信息
Discusses a system of programs that is described by a family of editing operations and automatically generates object-oriented, syntax-directed editors for visual programming languages. Traditional use of text editors; Problems with existing syntax-directed editors; Structure and nature of visual programming languages.
The front end of the software life cycle is an important phase in the development of quality software systems. Due to the interactive nature of the requirements specification phase, automated tools assist in capturing...
详细信息
暂无评论