JPH03130828A - Flow chart producing device - Google Patents

Flow chart producing device

Info

Publication number
JPH03130828A
JPH03130828A JP27106689A JP27106689A JPH03130828A JP H03130828 A JPH03130828 A JP H03130828A JP 27106689 A JP27106689 A JP 27106689A JP 27106689 A JP27106689 A JP 27106689A JP H03130828 A JPH03130828 A JP H03130828A
Authority
JP
Japan
Prior art keywords
text
input
output
program
graphic
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
JP27106689A
Other languages
Japanese (ja)
Inventor
Takeshi Mizobuchi
溝渕 毅
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP27106689A priority Critical patent/JPH03130828A/en
Publication of JPH03130828A publication Critical patent/JPH03130828A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the maintenance efficiency of a program by visually displaying the constitution of an input/output device required by a program text in a flow chart. CONSTITUTION:The program text is read out of a program text storing device 1 by each sentence, and a deciding device 3 decides whether each of these read sentences of the text is equal or not to an input/output device text required for the corresponding program. The input/output graphic information corresponding to the decided input/output device is retrieved out of an input/output text graphic corresponding device 4. Simultaneously, a specific position is decided to display the read graphic information. Thus the read graphic is displayed at the decided position. Then the constitution of the input/output device required by the program can be automatically shown out of the program text in a flow chart. Thus, the program is effectively maintained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置に利用される。特に、プログ
ラムテキストからの図式表現手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is utilized in a data processing device. In particular, it relates to means of graphical representation from program text.

〔概要〕〔overview〕

本発明は、データ処理装置でのプログラムテキストから
の図式表現手段において、 プログラムテキストが必要とする入出力装置の構成を流
れ図で視覚的に表示することにより、プログラムの保守
効率を向上することができるようにしたものである。
The present invention improves program maintenance efficiency by visually displaying the configuration of input/output devices required by the program text in the form of a flowchart in a graphical representation means from the program text in a data processing device. This is how it was done.

〔従来の技術〕[Conventional technology]

従来、プログラムが入出力装置として利用している装置
を把握するには、そのプログラムテキストを判読するか
または図式プログラムエディタであらかじめプログラム
の入出力装置を視覚的に流れ図(「情報処理ハンドブッ
ク」 社団法人情報処理学会発行、「流れ図」参照)を
利用して図式に表した図情報を判読する必要があった。
Conventionally, in order to understand the devices that a program uses as input/output devices, it is necessary to read the program text or use a graphical program editor to visualize the program's input/output devices in advance using a flowchart (Information Processing Handbook) It was necessary to decipher the graphical information expressed in a diagram using the ``Flow Chart'' (published by the Information Processing Society of Japan).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来例では、プログラムが必要としている入
出力装置の構成を効率良く理解するには、プログラムテ
キストに記述されている入出力記述を直接判読する、よ
りは流れ図を利用して表現された図式情報を判読する方
が好ましく、また、プログラムの保守効率が良いことが
一般的に認められている。しかし、図式情報を作成する
には、図式プログラムエディタによって作成しなければ
ならず、図式プログラムエディタで作成されていない一
般的なプログラムテキストではプログラムテキストを直
接判読しなければならない欠点があった。
In such conventional examples, in order to efficiently understand the configuration of input/output devices required by a program, it is necessary to express it using a flowchart rather than directly reading the input/output description written in the program text. It is generally accepted that interpreting graphical information is preferable and allows programs to be maintained more efficiently. However, in order to create the graphical information, it must be created using a graphical program editor, and for general program text that is not created with a graphical program editor, the program text must be directly read.

本発明の目的は、このような欠点を除去し、プログラム
テキストから自動的にそのプログラムが必要とする入出
力装置の構成を流れ図で表現することができる流れ図作
成装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a flowchart creation device that can eliminate such drawbacks and automatically represent the configuration of input/output devices required by a program in a flowchart from the program text.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、プログラムテキストが格納されるテキスト格
納手段および入出力図形を表示する表示手段を備えた流
れ図作成装置において、上記テキスト格納装置からプロ
グラムテキストを1文ずつ読み取る読取手段と、この読
取手段で読み取ったプログラムテキストの1文がそのプ
ログラムに必要な入出力装置テキストであるか否かを判
定する判定手段と、入出力装置テキストを表す語または
句のテキストとこのテキストに対応する入出力装置の図
形情報とを対応させて格納する図形格納手段と、上記判
定手段で判定された入出力装置に対応する入出力図形情
報を上記図形格納手段から読み取る読取手段と、この読
取手段で読み取った図形情報の表示位置を決定する位置
決定手段と、この位置決定手段で決定された上記表示手
段の表示位置にこの読取手段で読み取った図形情報の図
形を表示させる表示変換手段とを備えたことを特徴とす
る。
The present invention provides a flowchart creating device that includes a text storage means for storing program text and a display means for displaying input/output figures, including a reading means for reading the program text one sentence at a time from the text storage device, and a reading means for reading the program text one sentence at a time from the text storage device. determining means for determining whether a single sentence of the read program text is an input/output device text necessary for the program; a word or phrase text representing the input/output device text; a graphic storage means for storing graphic information in correspondence with each other; a reading means for reading input/output graphic information corresponding to the input/output device determined by the determination means from the graphic storage means; and a graphic information read by the reading means. and display converting means for displaying a figure of the graphic information read by the reading means at the display position of the display means determined by the position determining means. do.

〔作用〕[Effect]

プログラムテキスト格納装置からプログラムテキストを
1文ずつ読み取り、この読み取ったテキストの1文がそ
のプログラムにとって必要な入出力装置テキストかどう
かを判定する。この判定された入出力装置に対応する入
出力の図形情報を入出力テキスト図形対応装置から検索
し、また、読み取られた図形情報を表示するときにどこ
の位置に表示するかを決定し、この決定された位置に読
み取られた図形を表示する。
The program text is read one sentence at a time from the program text storage device, and it is determined whether one sentence of the read text is input/output device text necessary for the program. The input/output graphic information corresponding to this determined input/output device is searched from the input/output text/graphics compatible devices, and the position where the read graphic information is to be displayed is determined. Display the read figure at the determined position.

〔実施例〕〔Example〕

以下、図面を参照して本発明の一実施例を説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図はこの実施例の構成を示すブロック図である。こ
の実施例は、第1図に示すように、プログラムテキスト
が格納されているプログラムテキスト格納装置■と、プ
ログラムテキスト格納装置1に格納されているプログラ
ムテキストから1文ずつ読み取るテキスト読取装置2と
、読み取ったテキストの1文にそのプログラムにとって
必要な入出力装置テキストが含まれているか否かを判定
する入出力テキスト判定装置3と、入出力装置テキスト
を表す語または句のテキストとそれに対応する入出力装
置の図形情報が対応して格納されている人出力テキスト
図形対応格納装置4と、入出力テキスト判定装置3で判
定された入出力装置の種別情報によって入出力装置を表
す図形情報を入出力テキスト図形対応格納装置4から検
索し判読する入出力図形読取装置5と、入出力図形読取
装置5で読み取られた図形情報を表示するときにどこの
位置に表示するかを決定する入出力図形位置決定装置6
と、入出力図形位置決定装置6で決定された位置に入出
力図形読取装置5によって読み取られた図形情報を表示
装置8に表示できる形式に変換する入出力図形表示変換
装置7と、図形情報を表示する表示装置8とから構成さ
れる。すなわち、この実施例は、プログラムテキストが
格納されるテキスト格納手段であるプログラムテキスト
格納装@1および入出力図形を表示する表示手段である
表示装置8を備え、さらに、本発明の特徴とする手段と
して、上記テキスト格納装置からプログラムテキストを
1文ずつ読み取る読取手段であるテキスト読取装置2と
、この読取手段で読み取ったプログラムテキストの1文
がそのプログラムに必要な入出力装置テキストであるか
否かを判定する判定手段である入出力テキスト判定装置
3と、入出力装置テキストを表す語または句のテキスト
とこのテキストに対応する入出力装置の図形情報とを対
応させて格納する図形格納手段である人出力テキスト図
形対応格納装置4と、上記判定手段で判定された入出力
装置に対応する入出力図形情報を上記図形格納手段から
読み取る読取手段であるテキスト読取装置2と、この読
取手段で読み取った図形情報の表示位置を決定する位置
決定手段である入出力図形位置決定装置6と、この位置
決定手段で決定された上記表示手段の表示位置にこの読
取手段で読み取った図形情報の図形を表示させる表示変
換手段である入出力図形表示変換装置7とを備える。
FIG. 1 is a block diagram showing the configuration of this embodiment. As shown in FIG. 1, this embodiment includes a program text storage device (2) in which program text is stored, a text reading device 2 that reads one sentence at a time from the program text stored in the program text storage device 1, An input/output text determination device 3 determines whether a sentence of read text includes input/output device text necessary for the program, and a word or phrase text representing the input/output device text and its corresponding input/output device text. Graphical information representing the input/output device is input/output based on the input/output device type information determined by the input/output text determining device 3 and the human output text/graphics correspondence storage device 4 in which graphic information of the output device is stored in correspondence. An input/output graphic reading device 5 that retrieves and reads data from the text/graphic corresponding storage device 4, and an input/output graphic position that determines where to display the graphic information read by the input/output graphic reading device 5. Determination device 6
, an input/output graphic display conversion device 7 that converts the graphic information read by the input/output graphic reading device 5 at the position determined by the input/output graphic position determining device 6 into a format that can be displayed on the display device 8; It is composed of a display device 8 for displaying images. That is, this embodiment includes a program text storage device @1 which is a text storage means in which program text is stored, and a display device 8 which is a display means for displaying input/output figures, and further includes a means that is a feature of the present invention. The text reading device 2 is a reading means for reading program text one sentence at a time from the text storage device, and whether one sentence of the program text read by this reading means is input/output device text necessary for the program. The input/output text determining device 3 is a determining means for determining the input/output device text, and the graphic storage device stores the word or phrase text representing the input/output device text in correspondence with the graphic information of the input/output device corresponding to this text. A human output text/figure correspondence storage device 4; a text reading device 2 which is a reading means for reading input/output figure information corresponding to the input/output device judged by the above-mentioned judgment means from the above-mentioned figure storage means; An input/output graphic position determining device 6, which is a position determining means for determining the display position of graphic information, and a figure of the graphic information read by the reading means is displayed at the display position of the display means determined by the position determining means. The input/output graphic display conversion device 7 is provided as a display conversion means.

(以下本頁余白) 1 LIRIXXX IC X(128)。(The following is the margin of this page) 1 LIRIXXX IC X (128).

D 11AA[:H[I し八BEL RεC0RD STANDARD。D 11AA[:H[I Shihachi BEL RεC0RD STANDARD.

■ 9’lUt’  RUN。■ 9’lUt’ RUN.

次に、実際のプログラムテキストからの入出力装置流れ
図を作成して表示する例を示す。
Next, an example of creating and displaying an input/output device flowchart from actual program text is shown.

表はプログラムテキスト格納装置1に格納されているJ
(S規格準拠によるC0BOL言語プログラムテキスト
の例である。下線■〜■はこの実施例の説明のために示
されである。表で示されたプログラムテキストをテキス
ト読取装置2が1文ごと(COBOL言語では、ピリオ
ドで完結されるテキスト文字列)に読み取る。
The table is stored in the program text storage device 1.
(This is an example of a C0BOL language program text based on the S standard. The underlines ■ to ■ are shown for explanation of this example. The text reading device 2 reads the program text shown in the table sentence by sentence (COBOL In the language, a text string (completed with a period) is read.

第2図は、テキスト読取装置2が読み込んだテキストが
入出力装置を構成する図形を表す図形テキストかプログ
ラム本体を表すプログラム名テキストかを入出力テキス
ト判定装置3で判定するときに読み取る入出力テキスト
文字の情報とその人出力テキスト文字とを図形表現した
ときの図形情報が対になって表形式で格納されているこ
とを表している。
FIG. 2 shows the input/output text read by the input/output text determination device 3 when determining whether the text read by the text reading device 2 is a graphic text representing a graphic forming the input/output device or a program name text representing the program body. This indicates that the graphical information when the character information and the person's output text characters are graphically expressed are stored in a tabular format as a pair.

入出力テキスト判定装置3がテキスト読取装置2によっ
て順次読み取られたC0BOL言語テキストの文の内、
入出力テキスト図形対応格納装置4に格納されている入
出力テキスト文r ’FD’文字列ありで゛REPOR
T’文字列なし」か、r ’FD’文字列ありで“RE
P[lRT’文字列あり」か、または、r ’PR[]
−GRAM−10’文字列」かを判定すると、その文字
列情報が入出力図形読取装置5に送出される。ここでは
、まず第2図下線ので示されるテキストPROGRAM
−10’が入出力テキスト文字列に合致することを入出
力テキスト判定装置3が判定すると、このテキストが入
出力図形読取装置5に送出される。入出力図形読取装置
5はテキス) ’PROGRAM−10″に対応する図
形情報Cを読み取り、入出力図形位置決定装置6に送出
する。入出力図形位置決定装置6は、’PROGRAM
−10’は特にそのプログラムテキストの名前であるこ
とを入出力テキスト図形対応格納装置4に格納されてい
る表に示す情報に基づき認識し、表示装置8の中央に表
示するように決定する。入出力図形表示変換装置7は入
出力図形位置決定装置6より送出されてくる図形情報C
を表示装置8の中央位置の情報を利用して表示装置8の
中央上に表示する。同様に、表に示す下線■〜■のテキ
スト列に対しては下線■と■が第3図の入出力テキスト
文字r ’FD’文字列ありで“REPORT’文字列
なし」に合致し、図形情報Aが判定され、表に示す下線
■は入出力テキスト文字r ’FD’文字列ありで“R
EPORT’文字列あり」の条件に合致し、図形情報名
が判定される。このように判定された入出力装置を表す
3つの図形情報は入出力図形位置決定装置6によってプ
ログラムテキストの名前に対応する図形情報Cを中心に
その入出力装置の個数分だけ等分に分割配置される。第
3図はこのようにしてプログラムテキストから入出力装
置流れ図を表示した一例である。入出力テキスト図形対
応格納装置4に格納する人出力テキスト文字とそれに対
応する図形情報を変更することにより他の言語(C言語
、PL/I言語等)に対応することも可能であり、また
、入出力図形位置決定装置6の図形配置の行い方を変更
することにより第3図以外の図形の配置も行えることは
可能である。
Among the sentences of the C0BOL language text sequentially read by the input/output text determination device 3 by the text reading device 2,
Input/output text sentence stored in the input/output text graphic storage device 4
"T' without string" or "RE" with r'FD' string.
P[lRT' string included" or r'PR[]
-GRAM-10' character string", the character string information is sent to the input/output graphic reading device 5. Here, we will start with the text PROGRAM shown in the underlined box in Figure 2.
When the input/output text determining device 3 determines that -10' matches the input/output text character string, this text is sent to the input/output graphic reading device 5. The input/output figure reading device 5 reads the figure information C corresponding to the text) 'PROGRAM-10'' and sends it to the input/output figure position determining device 6.
-10' is the name of the program text, based on the information shown in the table stored in the input/output text/graphic correspondence storage device 4, and is determined to be displayed at the center of the display device 8. The input/output graphic display conversion device 7 receives graphic information C sent from the input/output graphic position determination device 6.
is displayed on the center of the display device 8 using information on the center position of the display device 8. Similarly, for the text strings with underlines ■ to ■ shown in the table, the underlines ■ and ■ match the input/output text character r 'FD' character string in Figure 3 and "REPORT' character string absent", and the figure Information A is determined, and the underlined ■ shown in the table indicates “R” with the input/output text character r 'FD' character string.
The condition of EPORT'character string is present' is met, and the graphic information name is determined. The three pieces of graphic information representing the input/output devices determined in this way are divided and arranged equally by the number of input/output devices, centering on the graphic information C corresponding to the name of the program text, by the input/output graphic position determining device 6. be done. FIG. 3 is an example of an input/output device flowchart displayed from program text in this manner. It is also possible to support other languages (C language, PL/I language, etc.) by changing the human output text characters and the corresponding graphic information stored in the input/output text/figure correspondence storage device 4. By changing the way the input/output figure position determination device 6 arranges figures, it is possible to arrange figures other than those shown in FIG.

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

本発明は、以上説明したように、プログラムテキストが
必要としている入出力装置の構成を流れ図で視覚的に表
示することができるので、プログラム保守が効率的に行
える効果がある。
As described above, the present invention can visually display the configuration of input/output devices required by the program text in the form of a flowchart, so that program maintenance can be carried out efficiently.

4、  rIIJ面の簡単な説明 第1図は本発明実施例の構成を示すブロック構成図。4. Brief explanation of rIIJ plane FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention.

第2図は第1図の人出力テキスト図形対応格納装置4に
保持されている入出力テキスト文字と図形情報の対応を
示す説明図。
FIG. 2 is an explanatory diagram showing the correspondence between input/output text characters and graphic information held in the human output text/graphic correspondence storage device 4 of FIG. 1.

第3図は本発明実施例の出力結果を表す図。FIG. 3 is a diagram showing the output results of the embodiment of the present invention.

1・・・プログラムテキスト格納装置、2・・・テキス
ト読取装置、3・・・入出力テキスト判定装置、4・・
・入出力テキスト図形対応格納装置、5・・・入出力図
形読取装置、6・・・入出力図形位置決定装置、7・・
・入出力図形表示変換装置、8・・・表示装置。
DESCRIPTION OF SYMBOLS 1... Program text storage device, 2... Text reading device, 3... Input/output text determination device, 4...
- Input/output text/figure correspondence storage device, 5... Input/output figure reading device, 6... Input/output figure position determination device, 7...
- Input/output graphic display conversion device, 8...display device.

Claims (1)

【特許請求の範囲】 1、プログラムテキストが格納されるテキスト格納手段
および入出力図形を表示する表示手段を備えた流れ図作
成装置において、 上記テキスト格納装置からプログラムテキストを1文ず
つ読み取る読取手段と、 この読取手段で読み取ったプログラムテキストの1文が
そのプログラムに必要な入出力装置テキストであるか否
かを判定する判定手段と、 入出力装置テキストを表す語または句のテキストとこの
テキストに対応する入出力装置の図形情報とを対応させ
て格納する図形格納手段と、上記判定手段で判定された
入出力装置に対応する入出力図形情報を上記図形格納手
段から読み取る読取手段と、 この読取手段で読み取った図形情報の表示位置を決定す
る位置決定手段と、 この位置決定手段で決定された上記表示手段の表示位置
にこの読取手段で読み取った図形情報の図形を表示させ
る表示変換手段と を備えたことを特徴とする流れ図作成装置。
[Scope of Claims] 1. A flowchart creation device comprising a text storage means for storing program text and a display means for displaying input/output figures, comprising a reading means for reading the program text one sentence at a time from the text storage device; determining means for determining whether a sentence of the program text read by the reading means is input/output device text necessary for the program; and a word or phrase text representing the input/output device text corresponding to this text. a graphic storage means for storing graphic information of an input/output device in correspondence with each other; a reading means for reading input/output graphic information corresponding to the input/output device determined by the determination means from the graphic storage means; The apparatus comprises a position determining means for determining a display position of the read graphical information, and a display converting means for displaying the figure of the graphical information read by the reading means at the display position of the display means determined by the position determining means. A flowchart creation device characterized by:
JP27106689A 1989-10-17 1989-10-17 Flow chart producing device Pending JPH03130828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27106689A JPH03130828A (en) 1989-10-17 1989-10-17 Flow chart producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27106689A JPH03130828A (en) 1989-10-17 1989-10-17 Flow chart producing device

Publications (1)

Publication Number Publication Date
JPH03130828A true JPH03130828A (en) 1991-06-04

Family

ID=17494918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27106689A Pending JPH03130828A (en) 1989-10-17 1989-10-17 Flow chart producing device

Country Status (1)

Country Link
JP (1) JPH03130828A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233621A (en) * 1988-03-15 1989-09-19 Chugoku Nippon Denki Software Kk Program specification preparing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233621A (en) * 1988-03-15 1989-09-19 Chugoku Nippon Denki Software Kk Program specification preparing system

Similar Documents

Publication Publication Date Title
JPS6014292A (en) Document generator
JPH03130828A (en) Flow chart producing device
JPS60186904A (en) Program input system
JPH02140828A (en) Program display system sorted by hierarchy in graphic program editor
JPH04167049A (en) Document processor
JP2801622B2 (en) Text-to-speech synthesis method
JPH10240120A (en) Device and method for finger language learning and finger language learning data storage medium
JPS6227859A (en) Sentence converting system
JPH09265387A (en) Method and device for visualizing program
JPS61262882A (en) Japanese sentence outputting device
JP3305005B2 (en) Natural language processing apparatus and method
JPH07129566A (en) Kana/kanji converting processor
JPH05314174A (en) Document preparing method and device therefor
JPS60100226A (en) Test processor for tree structure chart
JPH01236324A (en) Program design supporting system
JPH08137885A (en) Multilingual document processor
JPH065536B2 (en) Writing device
JPH11161296A (en) Document reader device and method
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPH0769917B2 (en) Interactive sentence processor
JPH01173232A (en) Analysis and display system for data definition statement
JPS62186355A (en) Document preparation system
JPH0194481A (en) Mechanical translating machine
JP2001076023A (en) Device and method for converting language and storage medium
JPH04288665A (en) Text document preparation system