JPS6011929A - Program producing device - Google Patents

Program producing device

Info

Publication number
JPS6011929A
JPS6011929A JP11932883A JP11932883A JPS6011929A JP S6011929 A JPS6011929 A JP S6011929A JP 11932883 A JP11932883 A JP 11932883A JP 11932883 A JP11932883 A JP 11932883A JP S6011929 A JPS6011929 A JP S6011929A
Authority
JP
Japan
Prior art keywords
program
text
tree structure
description
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11932883A
Other languages
Japanese (ja)
Inventor
Kazuo Aida
会田 一夫
Yutaka Ofude
大筆 豊
Toshiyuki Koo
小尾 俊之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP11932883A priority Critical patent/JPS6011929A/en
Publication of JPS6011929A publication Critical patent/JPS6011929A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To obtain a program producing device having high practical performance which can produce and edit effectively programs while understanding a program text as a whole, by defining the program text for every program description in the form of a program component element and converting the element into a tree structure. CONSTITUTION:A program text is defined as a program component element for each group of program description and then converted into a tree structure by said component element. Then the program description of the designated program component element is displayed and delivered together with the information on the tree structure. For instance, the program description supplied from a keyboard 2 is displayed at a display 3 by a control part 1 and also stored in a memory 5. In this case, a program text consisting of component elements AAA, BBB, etc. is defined as component elements A1-A3, B1-B2, etc. at each level and converted into a tree structure. For a program text converted into a tree structure, an identification code X, etc. are added and displayed to the display 3 together with each program description.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は目的とするプログラムの作成編集を効果的に行
い得るプログラム作成製的に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a program creation method that can effectively create and edit a target program.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近時、キーボードより文字列を入力し、この文字列によ
って示されるグログラム・テキストを記憶すると共にブ
イスジレイ画ii′Ii上に表示し乍ら、オペレータと
のtHlで2′J砧型式で目的とするfol”ラムを作
成していくプログラム作成装置が注目されている。この
4′市の装置6′によれば、オにレータが作成したグロ
グラムを一方的に装置に与えるだけのものとは異なり、
そのプログラム作成の融通性が高いやiの;1.11点
がある。
Recently, a character string is inputted from the keyboard, and the grammatical text indicated by this character string is memorized and displayed on the bus display screen, and the target is displayed in the 2'J Kinuta format in tHL with the operator. A program creation device that creates "fol" ram is attracting attention. According to this 4' City device 6', unlike the device that only unilaterally gives the program created by the programmer to the device,
It has a high degree of flexibility in program creation.It has a score of 1.11.

ところが従来装置にあっ−Cは、オペレータとの対話に
用いられるrイスプレイ装置として、通常キャラクタ・
ディスプレイ装置が用いられておシ、その画面表示領域
が限られていることから膨大な容量となるグログラム・
テキストの全体を把握すること≠1非常に困難であった
。しかも、上記プログラム・デキストの全体を表示・お
よび処理対象として取扱っているので、特定のプログラ
ム部分にのみ焦点を合せてその作成処理を行うことが困
釧であると云う不具合があった。つ甘り、」二記プログ
ラム・テキストの一部分しか表示できないので、その表
示部分の全体に対する位置すけ等を把握することが難し
いと云う問題があった。
However, in the conventional device, A-C is used as an r-screen device used for dialogue with the operator.
Since a display device is used, the screen display area is limited, so the capacity of the screen becomes enormous.
It was extremely difficult to understand the entire text. Moreover, since the entire program index is handled as the object of display and processing, it is difficult to focus only on a specific program part and perform the creation process. Unfortunately, since only a portion of the program text can be displayed, there is a problem in that it is difficult to grasp the relative position of the displayed portion relative to the entire program text.

〔発明の目的〕[Purpose of the invention]

本発明はこのYうな事情を8慮してなされたもので、そ
の目的とするところは、プログラム・テキストの全体を
把握し乍らそのプログラムの作成・編集を効果的に行い
得る実用性の高いプログラム作成装置を提供することに
ある。
The present invention has been developed with these circumstances in mind.The purpose of the present invention is to provide a highly practical method that enables effective creation and editing of programs while grasping the entire program text. The objective is to provide a program creation device.

〔発明の概要〕[Summary of the invention]

本発明は入力されたプログラム拳テキストを1まとまシ
のプログラム記述毎にそれぞれゾログラム構成要素とし
て定義し、これらのプログラム構成要素により前記ノロ
グラム・テキストを木構造化して、このプログラム・テ
キストの木構造情報と共に、選択指定されたプログラム
構成要素のプログラム記述を表示出力するようにしたも
のである。
The present invention defines the input program text as a zologram component for each group of program descriptions, converts the nologram text into a tree structure using these program components, and creates tree structure information of this program text. At the same time, the program description of the selected program component is displayed and output.

〔発明の効果〕〔Effect of the invention〕

かくして本発明によノ1はプログラム・テキストの木構
造悄朝によシぞの全体の概略を把握し乍ら目的とするプ
ログラノ、構成要素のプログラム記述を選択的に得るこ
とができるので、対話型式によるプログラムの作成・編
集を極めて効果的に行うことが可能となる。つまり、プ
ログラム・テキストの全体をtE!+ 徒し乍ら、その
目的部分にのみ焦点を合ぜてプログラム編集を行うこと
が可能となり、プログラム内容の理解の大きな助力とな
る等の絶大なる効果が奏せられる。
Thus, the first aspect of the present invention is that it is possible to selectively obtain program descriptions of the target program elements and components while grasping the overall outline of the tree structure of the program text. It becomes possible to create and edit programs based on model formats extremely effectively. In other words, the entire program text is tE! + It is possible to edit the program by focusing only on the desired part, which has great effects such as greatly aiding the understanding of the program contents.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照してネタ、明の一実施例につき酸5明
する。
Hereinafter, an example of acid 5 will be explained with reference to the drawings.

第1図は実施例装置の概略構成図であり、図中1はマイ
クロ・プロセッサ等からなる制御部である。この制御部
1にキーボード2、ディスプレイ3、プリンタ4、そし
てメモリ5等が接続される。制御部1は、前記キーが一
ド2から順次入力される文字列からなるプログラム記述
をディスプレイ3を用いて順次表示すると共に、上記プ
ログラム記述を順にメモリ5に格納する。またとのとき
、制御部1は、前記文字列からなるプログラム・テキス
トを1まとまりのプログラム記述毎にプログラム構成要
素として定義し、これらのプログラム構成要素にて前記
プログラム・テキストを木構造化している。このよう゛
にしてキーボード2から入力されるプログラム・テキス
トは、例えば第2図に示されるようなもので、通常制御
部1は該プログラム・テキストの全内容をディスプレイ
3による表示対象としている。
FIG. 1 is a schematic configuration diagram of an embodiment of the apparatus, and numeral 1 in the figure is a control section consisting of a microprocessor or the like. A keyboard 2, a display 3, a printer 4, a memory 5, etc. are connected to this control unit 1. The control unit 1 uses the display 3 to sequentially display program descriptions consisting of character strings that are sequentially input from the first key 2, and stores the program descriptions in the memory 5 in order. In this case, the control unit 1 defines the program text consisting of the character string as a program component for each set of program descriptions, and forms the program text into a tree structure using these program components. . The program text inputted from the keyboard 2 in this manner is, for example, as shown in FIG.

しかして、キーボード2からの指示に従って前記制御部
!6−i次のようにして前記木構造化されたプログラム
・テキストの特定部分のプログラム記述だけをディスプ
レイ3に表示させたり、或いは上記木構造の上位レベル
のプログラム構成要素から下位レベルのプログラム構成
要素へと順に、そのプログラム記述を前記プリンタ4を
介して出力するものどなっている。
Then, according to the instructions from the keyboard 2, the control section! 6-i Display only the program description of a specific part of the tree-structured program text on the display 3 in the following manner, or change from the upper-level program component to the lower-level program component of the tree structure. Then, the program description is outputted via the printer 4 in order.

即ち今、文字列として入力されたプログラノ、・テキス
トが第2図に示される場合、このプログラム・テキスト
はその1まとまりのプログラム記述毎にプログラム構成
要素として、第3図に示す如く木構造化される。この例
では、下位レベルでの1まとまシのプログラム記述とし
て、プログラム(BfZ、l372)なる糺と、(B2
1 、B22)なる組とがあり、これらはプログラム構
成要素Bl、B2としてそれぞれ定義される。そして、
これらのプログラム4.S成要素Bl、B2は、中位レ
ベルでの1まとまりのプログラム記述として、構成要素
B B Bとして定義される。またこの中位レベルでは
、1′!!:とまシのプログラム記述A、l 、A2.
A3として植成要素AAAが定義され、寸だ別の11と
1りのプログラム記述C1,C2,C3として構成要素
CCCが定義される。これらの中位しベルでの構成要素
A、 A人、BBB 、CCCによって、一連のプログ
ラム・テキストがその上位レベルとして定義され、第3
図に示す木構造が組立てられることになる。
That is, if the program text input as a character string is shown in Figure 2, this program text is structured into a tree as shown in Figure 3, with each program description as a program component. Ru. In this example, the program description (BfZ, l372) and (B2
1 and B22), which are defined as program components B1 and B2, respectively. and,
These programs4. The S components B1 and B2 are defined as a component B B B as a set of program descriptions at an intermediate level. Also, at this intermediate level, 1'! ! : Tomashi's program description A, l, A2.
A planting element AAA is defined as A3, and a constituent element CCC is defined as program descriptions C1, C2, and C3 with different dimensions. The components A, A, BBB, and CCC at these intermediate levels define a set of program texts as their upper level;
The tree structure shown in the figure will be assembled.

このようにして木構造化されたプログラム・テキストに
ついて、第2図に示すように、下位レベルのプログラム
記述を持つプログラム記述に対して識別符号Xが付加さ
れ、且つ各プログラム記述に、それが属する木構造レベ
ルを示す符号Yが付加される。従って、このような符号
X、Yを伴ったプログラム記述を前記プリンタ4を用い
て出力すれば、そのプログラム・テキストの構造を全体
に亘って把握することが可能となる。つまシ、そのゾロ
グラムの構造、或いはその構成要素の対応関係を把握す
ることが可能となる。
Regarding the program text tree-structured in this way, as shown in FIG. A code Y indicating the tree structure level is added. Therefore, by outputting a program description with such codes X and Y using the printer 4, it becomes possible to grasp the entire structure of the program text. It becomes possible to understand the structure of the tab, its zologram, or the correspondence of its constituent elements.

ところが、このようなプログラム・テキストの全体をデ
ィスグレイ3による表示対象とすると、ディスグレイ3
の表示容量に限りがあるととから、その全てを同時に表
示することができない。このとどけ、プログラム記述を
部分的にしか表示できないことを意味する。この点、本
装置では、前記木構造の47’f報と共に、処押目的と
する選択指示したプログラム構成9素のプログラム記述
のみを前記メモリ5から選択的に読出して第4図に示す
如くディスグレイ表示される。つまり、プログラム−テ
キストの全体構造を示す上記木構造と共に、1まとまり
のプログラム記述として定義された構成教素のうち、目
的とする構成要素の記述が表示出力されることになる〇 従ってオぜレータは、前記本構造の情報からそのプログ
ラム・テキストの全体的な構成を412握し乍ら、作成
・編集対象とするプログラム記述をそのレベルに応じて
ディスプレイ表示して所望とする処理を対話的に行うこ
とが可能となる。このことは、目的とする部分のプログ
ラム記述以外は、その概要としてプログラム・テキスト
の全体を把握可能なことを意味し、故に効果的なプログ
ラム作成・編集作業が可能となる。
However, if the entire program text is to be displayed by Disgray 3, Disgray 3
Due to the limited display capacity, it is not possible to display all of them at the same time. This means that the program description can only be partially displayed. In this regard, in this device, along with the tree-structured 47'f information, only the program description of the nine elements of the program component selected for processing purpose are selectively read out from the memory 5 and displayed as shown in FIG. Displayed in gray. In other words, along with the above tree structure showing the overall structure of the program text, the description of the target constituent element among the constituent teachings defined as a set of program descriptions will be displayed and output. While grasping the overall structure of the program/text from the above-mentioned structure information, 412 displays the program description to be created/edited according to its level and interactively performs the desired process. It becomes possible to do so. This means that the entire program text can be grasped as an overview, except for the program description of the target part, and therefore effective program creation and editing work is possible.

そして、目的とする部分に処理焦点を効果的に絞ること
が可能となる等の実用上多大なる効果が奏せられる。
Further, great practical effects such as being able to effectively narrow down the processing focus to a target portion can be achieved.

尚、本発明は上記実施例に限定されるものではない。例
えば1丑とブリのゾログラム記述としで定義するフ0ロ
グラム・レベルハ、ソノプログラム・テキストのtel
に応じて定めればよい。
Note that the present invention is not limited to the above embodiments. For example, the zologram description of 1ox and yellowtail is defined as the phologram levelha, the tel of the sonoprogram text.
It may be determined accordingly.

つまり、木構造を更に階層化することも勿論可能である
。また、このような木構造に応じてゾログラム記述の出
力表示順序を変えることも可能である○オたこの発明の
思想を文書作成装置に応用することも可能であり、要す
るに本発明はその要旨を逸脱しない範囲で種々変形して
実施することができる。
In other words, it is of course possible to further hierarchize the tree structure. It is also possible to change the output display order of zologram descriptions according to such a tree structure. ○It is also possible to apply the idea of this invention to a document creation device, and in short, the present invention has the gist. Various modifications can be made without departing from the scope.

【図面の簡単な説明】 図は本発明の一実施例を示すもので、第1図は実施例装
置の概略構成図、第2図はゾログラム・テキストの例を
示す図、第3図はプログラム・テキストの木構造を示す
図、第4図は本装置によるプログラム記述の表示例を示
す図である0 1・・・制御部、2・・・キーボード1.?・ディス−
“0レイ、4・・・プリンタ、5・・メモリ。
[BRIEF DESCRIPTION OF THE DRAWINGS] The drawings show an embodiment of the present invention, in which Fig. 1 is a schematic diagram of the device of the embodiment, Fig. 2 is a diagram showing an example of zologram text, and Fig. 3 is a program.・A diagram showing a text tree structure. FIG. 4 is a diagram showing an example of displaying a program description by this device. 0 1...control unit, 2...keyboard 1. ?・Dis-
“0 Ray, 4...Printer, 5...Memory.

Claims (2)

【特許請求の範囲】[Claims] (1) 入力文字列で示されるプログラム・テキストを
記憶する手段と、上記プログラム拳テキストを1−!、
と′tシのプログラム記述毎にそれぞれグログラム構成
要素として定義する手段と、これらのグログラム構成要
素によシ前記ゾログシム・テキストを木構造化する手段
と、このプログラム・テキストの木構造情報と共に選択
指定されたプログラム構成要素のプログラム記述を表示
出力する手段とを具備したことを特徴とするプログラム
作成装置。
(1) A means for storing the program text indicated by the input character string, and a means for storing the program text indicated by the input character string. ,
means for defining each program description as a glogram component; means for converting the zologsim text into a tree structure using these gramogram components; and selection and designation together with the tree structure information of the program text. 1. A program creation device comprising: means for displaying and outputting a program description of a program component that has been created.
(2) プログラム・テキストの1まとt、6のプログ
ラム記述は、上記グログラム・テキストを複数の階層に
分けた各階層毎にそれぞれまとめられるものである特許
請求の範囲第1項記載のグログラム作成装置。
(2) The glogram creation according to claim 1, wherein the program text 1, t, and 6 program descriptions are grouped for each layer in which the gramogram text is divided into a plurality of layers. Device.
JP11932883A 1983-06-30 1983-06-30 Program producing device Pending JPS6011929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11932883A JPS6011929A (en) 1983-06-30 1983-06-30 Program producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11932883A JPS6011929A (en) 1983-06-30 1983-06-30 Program producing device

Publications (1)

Publication Number Publication Date
JPS6011929A true JPS6011929A (en) 1985-01-22

Family

ID=14758748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11932883A Pending JPS6011929A (en) 1983-06-30 1983-06-30 Program producing device

Country Status (1)

Country Link
JP (1) JPS6011929A (en)

Similar Documents

Publication Publication Date Title
JPS6011929A (en) Program producing device
JP3085922B2 (en) Drawing generation device for assembly group by 3D CAD
JPH08249385A (en) Method and device for supporting work generation
JP2861453B2 (en) Hypertext model creation device
Quint et al. Grif: An interactive environment for TEX
JPS61157971A (en) Document editing device
JP3538888B2 (en) Layout equipment
JPS63158664A (en) Document processing system for tree structure type document management
JP3532603B2 (en) Automatic number assignment method
JP3048186B2 (en) Method and apparatus for automatic creation and conversion of drawing drawing output command information
JPS5850039A (en) List output method
JP2669677B2 (en) Processing order automatic setting processor
JP2849290B2 (en) Screen form definition body automatic generation processing method
JPH0341558A (en) Retrieving method and menu offering method
JPH05274134A (en) Production system for screen operation manual
JPH0594295A (en) Editing device for plural sub files
JPH0715661B2 (en) Message text assembly / edit control method
JPH0991128A (en) Automatic programming device
JPH04127264A (en) Automatic correction system for document data
JPS58223864A (en) Production and display system of problem structure chart
JPS62135958A (en) Simulation system
JPH01175663A (en) Document edition system
JPH03228129A (en) Picture information processing system
JPH0484223A (en) Electronic computer system
JPH0437953A (en) Slip preparating device