GREENPRINT: A Graphic Representation of Structured Programs
نویسندگان
چکیده
improve the readability of programs over existing techniques, a new program representation termed GREENPRINT has been developed and is discussed in this paper. GREENPRINTs (the name taken from the phosphorfluorescence of certain display terminals and paralleling the term blueprints) are tree-structured diagrams together with source code statements that represent the control structure of programs. Discussed in this paper are the diagram-ming conventions, control flow methodology, presentation graphics, and practical experience with GREENPRINTs. Flowcharts are the oldest graphic representations of programs. The works of Goldstine and von Neumann contain many flow-charts.' Largely due to processor speed and storage space limitations , early programs were not structured; branching to common code was important and occurred frequently. Later, high-level languages appeared and programs automatically generating flow-charts from program text were developed.' At the same time, p r e gram structures improved. Nassi-Shneiderman Diagrams (NSDS) were proposed much later to represent structured program^.^ In this form, such program constructs as if-then-else and loop are represented as nested boxes. With a high level of nesting, these charts become wide, and their elements vary in size. HIP0 charts attempt to capture the data flow of program segments by focusing on the representation of input data, process, and output data for program block^.^ Combinations of NSDs and H I m s can be found in the l i t e r a t ~ r e , ~ ' ~ and in some instances NSDS have been a u t e matically generated.7 Further improvement can be achieved by direct input of charts using interactive graphics. The earliest general-purpose graphics system was Sketchpad.8 More specialized approaches include block diagrammingg and, more recently, the direct input of NSDS.",'~ In the latter case, program text is automatically generated from NSDS. A recent example of the use of graphics in software design is the TELL system," where NSDs are used for detailed program description. Copying is permitted without payment of royalty provided that (1) each reproduction is done without alteration and (2) the Journal reference and IBM copyright notice are included on the first page. The title and abstract may be used without further permission in computer-based and other information-service systems. Permission to republish other excerpts should be obtained from the Editor.
منابع مشابه
Directional Stroke Width Transform to Separate Text and Graphics in City Maps
One of the complex documents in the real world is city maps. In these kinds of maps, text labels overlap by graphics with having a variety of fonts and styles in different orientations. Usually, text and graphic colour is not predefined due to various map publishers. In most city maps, text and graphic lines form a single connected component. Moreover, the common regions of text and graphic lin...
متن کاملStructured Data Representation Using Ruby Syntax
This paper describes Ribbon (Ruby Instructions Becoming Basic Object Notation), a new representation written in a text-based data format using Ruby syntax. The design principle of Ribbon is good readability and simplicity of structured data representation. An important feature of Ribbon is an executable representation. Once Ribbon-related definitions are loaded into a Ruby interpreter, the repr...
متن کاملEfficient Simulation of Network Models in c + +
This paper shows how object oriented programming concepts may be used to establish a framework for supporting simulation model programming. It describes how this has been implemented in a system written in CH called SIC. Its support of stochastic simulation concerns three fields: First, a library of simulation tools for random number generation and statistical analysis is offered along with a m...
متن کاملNumerical Simulation of a Lead-Acid Battery Discharge Process using a Developed Framework on Graphic Processing Units
In the present work, a framework is developed for implementation of finite difference schemes on Graphic Processing Units (GPU). The framework is developed using the CUDA language and C++ template meta-programming techniques. The framework is also applicable for other numerical methods which can be represented similar to finite difference schemes such as finite volume methods on structured grid...
متن کاملAutomation and Testing of Character-graphic Programs
This paper describes a general technique that allows automation and testing of charactergraphic programs using portable and inexpensive tools. Specifically, Tcl, Tk, and Expect are augmented with a terminal emulator in order to build a screen representation in memory. This screen can be queried in a high-level way and the interaction can be further controlled based on the screen representation....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IBM Systems Journal
دوره 19 شماره
صفحات -
تاریخ انتشار 1980