JPH05233255A - Editor - Google Patents

Editor

Info

Publication number
JPH05233255A
JPH05233255A JP3173692A JP3173692A JPH05233255A JP H05233255 A JPH05233255 A JP H05233255A JP 3173692 A JP3173692 A JP 3173692A JP 3173692 A JP3173692 A JP 3173692A JP H05233255 A JPH05233255 A JP H05233255A
Authority
JP
Japan
Prior art keywords
program
distribution
graphic symbol
screen
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
JP3173692A
Other languages
Japanese (ja)
Inventor
Toshitaka Nagai
敏隆 永井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3173692A priority Critical patent/JPH05233255A/en
Publication of JPH05233255A publication Critical patent/JPH05233255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To simplify the handling of a distribution program by converting the distribution program into a graphic code program, displaying the graphic code program on a screen and returning the graphic code program edited on the screen to the original distribution program, and storing the restored program. CONSTITUTION:The distribution program 11 is converted into the graphic code program 12, display processing 4 displays the converted program 12 on the screen by using graphic codes, and when a user executes the edition (formation, correction, etc., of the program 12 on the screen, conversion processing 3 converts the edited program 12 into the program 11 to store the program 11. Namely this editor 1 is provided with a function for automatically converting the program 11 into the program 12, automatically converting the displayed and edited program 12 into the original program 11 and storing the program 11. Thereby the distribution program 11 can be handled as the graphic code program 12 without allowing the user to be conscious of the program conversion and distribution characteristics can be secured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラムの制御構造
を図記号で表示して編集するエディタに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an editor for displaying and editing a control structure of a program with graphic symbols.

【0002】プログラム開発の生産性を向上させるため
に、命令を図記号で表現してプログラムの制御構造を明
らかにし、プログラムの制御構造の誤りを防ぐことが行
われている。このようなエディタは、図記号プログラム
を特別な形式で格納するために、そのまま流通させるこ
とができないので、これを解決することが望まれてい
る。
In order to improve the productivity of program development, an instruction is represented by a graphic symbol to clarify the control structure of the program and to prevent errors in the control structure of the program. Since such an editor cannot store the graphic symbol program in a special format and therefore cannot be distributed as it is, it is desired to solve this problem.

【0003】[0003]

【従来の技術】従来、言語仕様に従って記述した流通プ
ログラムと、プログラムの制御構造を図記号を用いて表
現した図記号プログラムとは、別の形式のプログラムで
ある。このため、通常、コンパイラによって翻訳しよう
とする場合、図記号プログラムを一旦、流通プログラム
に変換した後、翻訳する。また、逆に流通プログラムを
利用しようとしたり、修正しようとした場合、流通プロ
グラムを一旦図記号プログラムに変換し、これを画面上
に表示して作成、修正などするようにしていた。
2. Description of the Related Art Conventionally, a distribution program described according to a language specification and a graphic symbol program in which a control structure of the program is expressed by graphic symbols are programs of different formats. For this reason, in general, when attempting to translate by a compiler, the graphic symbol program is first converted into a distribution program and then translated. On the contrary, when attempting to use or modify the distribution program, the distribution program is once converted into a graphic symbol program, which is displayed on the screen for creation or modification.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
は、プログラムの制御構造を図記号を用いて画面上に図
記号プログラムとして表示して修正したり、画面上で図
記号プログラムを作成し、図記号プログラムとして保存
していた。また、プログラム言語の仕様で記述された流
通プログラムを利用しようとする場合、この流通プログ
ラムをその都度、図記号プログラムに一旦変換し、この
変換した後の図記号プログラムを画面上に表示し、修
正、変更などする。修正、変更後は、この図記号プログ
ラムを保存する。そして、コンパイラによって翻訳する
場合、この保存した図記号プログラムを一旦、流通プロ
グラムに変換した後、翻訳して実行可能形式のモジュー
ルを作成するようにしていた。このため、流通プログラ
ムを利用しようとする場合、利用者が、その都度、流通
プログラムから図記号プログラムに変換する操作指示
と、そのための変換処理を行う必要が生じてしまうと共
に、一旦変換して画面上で修正、作成などした図記号プ
ログラムを翻訳する場合、図記号プログラムを流通プロ
グラムに変換する操作指示とそのための変換処理を行
い、その後に翻訳を行って実行可能形式のモジュールを
作成する必要があり、利用者によって極めて煩雑な操作
が要求されてしまうという問題があった。また、図記号
プログラムで保存していたので、流通性が欠けると共
に、図記号プログラムと流通プログラムの版数がずれる
などという問題もあった。
As described above, conventionally, the control structure of a program is displayed as a graphic symbol program on a screen using a graphic symbol and is modified, or a graphic symbol program is created on the screen. , Was saved as a graphic symbol program. Also, if you want to use a distribution program written in the specifications of the programming language, you need to convert this distribution program to a graphic symbol program once each time and display the converted graphic symbol program on the screen to make corrections. , Change, etc. After correction or change, save this graphic symbol program. In the case of translation by a compiler, the saved graphic symbol program is once converted into a distribution program and then translated to create an executable module. Therefore, when trying to use the distribution program, each time the user needs to perform an operation instruction for converting the distribution program into the graphic symbol program and a conversion process for that, and once the conversion is performed, the screen is converted. When translating a graphic symbol program that has been modified or created above, it is necessary to perform an operation instruction for converting the graphic symbol program into a distribution program and the conversion process for that, and then perform the translation to create an executable module. However, there is a problem that the user requires an extremely complicated operation. Further, since the graphic symbol program is stored, there is a problem that the distribution property is poor and the version numbers of the graphic symbol program and the distribution program are different.

【0005】本発明は、これらの問題を解決するため、
エディタに流通プログラムから図記号プログラムに自動
変換して表示、および編集後の図記号プログラムを流通
プログラムに自動変換して保存する機能を持たせ、利用
者が意識することなく流通プログラムを図記号プログラ
ムとして簡単に取り扱えるようにすると共に、流通プロ
グラムで保存して流通性を確保することを目的としてい
る。
The present invention solves these problems.
The editor has a function to automatically convert the distribution program to a graphic symbol program and display it, and to automatically convert the edited graphic symbol program to a distribution program and save it. The purpose is to ensure easy distribution and to save the distribution by a distribution program.

【0006】[0006]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、流通プロ
グラム11は、構造表記の情報を持たないプログラムで
あって、例えばプログラム言語の規約にもとづいて記述
したプログラムである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, the distribution program 11 is a program that does not have information of structural notation, and is a program described based on, for example, the convention of the programming language.

【0007】図記号プログラム12は、プログラムの制
御構造を図記号を用いて表現したプログラムである。変
換処理2は、流通プログラム11を図記号プログラム1
2に変換するものである。
The graphic symbol program 12 is a program in which the control structure of the program is expressed using graphic symbols. In the conversion process 2, the distribution program 11 is converted into the graphic symbol program 1
It is converted into 2.

【0008】変換処理3は、図記号プログラム12を流
通プログラム11に変換するものである。表示処理4
は、図記号プログラム12を画面上に図記号を用いて表
示するものである。
The conversion processing 3 converts the graphic symbol program 12 into the distribution program 11. Display processing 4
Displays the graphic symbol program 12 on the screen using graphic symbols.

【0009】[0009]

【作用】本発明は、図1に示すように、変換処理2が指
示された流通プログラム11を図記号プログラム12に
変換し、表示処理4がこの変換した図記号プログラム1
2を画面上に図記号を用いて表示し、利用者が画面上か
らこの図記号プログラム12を編集(作成、修正など)
したことに対応して、変換処理3がこの編集後の図記号
プログラム12を流通プログラム11に変換し、保存す
るようにしている。
According to the present invention, as shown in FIG. 1, the distribution program 11 for which the conversion processing 2 is instructed is converted into the graphic symbol program 12, and the display processing 4 converts the converted graphic symbol program 1.
2 is displayed on the screen using graphic symbols, and the user edits (creates, corrects, etc.) this graphic symbol program 12 from the screen.
In response to this, the conversion processing 3 converts the edited graphic symbol program 12 into the distribution program 11 and stores it.

【0010】従って、エディタに流通プログラム11か
ら図記号プログラム12に自動変換して表示、および編
集後の図記号プログラム12を流通プログラム11に自
動変換して保存する機能を持たせることにより、利用者
が意識することなく流通プログラム11を図記号プログ
ラム12として簡単に取り扱えるようにすることが可能
となると共に、流通プログラム11で保存して流通性を
確保することが可能となる。また、流通プログラム11
で保存することにより、従来の図記号プログラムと流通
プログラムとの間の版数ずれの発生を防止できる。
Therefore, the editor is provided with a function of automatically converting the distribution program 11 into the graphic symbol program 12 for display, and having a function of automatically converting the graphic symbol program 12 after editing into the distribution program 11 and storing it. It becomes possible to easily handle the distribution program 11 as the graphic symbol program 12 without being aware of it, and at the same time, it is possible to save the distribution program 11 and secure the distribution property. In addition, the distribution program 11
By storing the file in the above manner, it is possible to prevent the version number deviation between the conventional graphic symbol program and the distribution program.

【0011】[0011]

【実施例】次に、図1から図6を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0012】図1は、本発明の1実施例構成図を示す。
図1において、流通プログラム11は、構造表記の情報
を持たないプログラムであって、例えばプログラム言語
の規約にもとづいて記述したプログラムである。具体的
に言えばC言語で記述した図6に示すようなプログラム
(流通プログラム)である。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, the distribution program 11 is a program that does not have information of structural notation, and is a program described based on, for example, the convention of the programming language. Specifically, it is a program (distribution program) described in C language as shown in FIG.

【0013】図記号プログラム12は、プログラムの制
御構造を図記号を用いて表現したプログラムであって、
例えば図5の図記号プログラムである。この図5の図記
号プログラムは、ディスプレイ装置9の画面上に、図4
のように表示する。この画面上に表示し、画面上で編集
することにより、利用者はプログラムの制御構造が見や
すいので容易にその制御構造を把握して編集することが
できる。
The graphic symbol program 12 is a program in which the control structure of the program is expressed using graphic symbols.
For example, the graphic symbol program of FIG. The graphic symbol program of FIG. 5 is displayed on the screen of the display device 9 as shown in FIG.
Is displayed. By displaying on this screen and editing on the screen, the user can easily understand the control structure of the program and easily edit the control structure of the program.

【0014】エディタ1は、画面上に図記号プログラム
を表示し、利用者が図記号プログラムを作成したりする
ものであって、変換処理2、変換処理3、表示処理4、
主制御装置5、編集バッファメモリ6、一時格納領域7
などから構成されるものである。
The editor 1 displays the graphic symbol program on the screen and the user creates the graphic symbol program. The conversion process 2, the conversion process 3, the display process 4,
Main controller 5, edit buffer memory 6, temporary storage area 7
It is composed of etc.

【0015】変換処理2は、構造表記の情報を持たない
プログラム(流通プログラム11)を、構造表記の情報
を持ったプログラム(図記号プログラム12)に変換す
るものであって、例えば図6の流通プログラム11を図
5の図記号プログラム12に変換するものである。
The conversion process 2 is for converting a program (distribution program 11) having no structural notation information into a program (graphic symbol program 12) having structural notation information. For example, the distribution shown in FIG. The program 11 is converted into the graphic symbol program 12 of FIG.

【0016】変換処理3は、図記号プログラム12を流
通プログラム11に変換するものであって、例えば図5
の図記号プログラム12を図6の流通プログラム11に
変換するものである。
The conversion process 3 is for converting the graphic symbol program 12 into the distribution program 11, for example, as shown in FIG.
6 is converted into the distribution program 11 of FIG.

【0017】表示処理4は、図記号プログラム12につ
いて画面上に図記号を用いて表示するものであって、例
えば図5の図記号プログラム12を画面上に図4の図記
号プログラムの表示例に示すように表示するものであ
る。
The display processing 4 is to display the graphic symbol program 12 on the screen by using graphic symbols. For example, the graphic symbol program 12 of FIG. 5 is displayed on the screen as a display example of the graphic symbol program of FIG. It is displayed as shown.

【0018】主制御装置5は、各種制御を行うものであ
る。編集バッファメモリ6は、流通プログラムを変換し
た図記号プログラムを格納し、編集操作を行うためのメ
モリである。
The main controller 5 performs various controls. The edit buffer memory 6 is a memory for storing a graphic symbol program obtained by converting a distribution program and performing an edit operation.

【0019】一時格納領域7は、一時的に各種データを
格納するものであって、例えば流通プログラム11を記
憶装置10から取り出して一時的に格納し、この格納し
た流通プログラム11を図記号プログラム12に変換し
たりするときに使用する領域である。
The temporary storage area 7 temporarily stores various data. For example, the distribution program 11 is taken out from the storage device 10 and temporarily stored therein, and the stored distribution program 11 is stored in the symbol program 12. This is the area used when converting to.

【0020】キーボード入力装置8は、ディスプレイ装
置9の画面上に表示した図形記号プログラムに対して、
各種データを入力したりなどするものである。ディスプ
レイ装置9は、各種データを表示するものであって、こ
こでは図記号プログラムを表示、例えば図4に示すよう
に表示するものである。
The keyboard input device 8 responds to the graphic symbol program displayed on the screen of the display device 9 by
It is for inputting various data. The display device 9 displays various data, and here displays a graphic symbol program, for example, as shown in FIG.

【0021】記憶装置10は、大容量の外部記憶装置で
あって、ここでは流通プログラム11を保存するもので
ある。次に、図2を用いて書き込み時の動作を詳細に説
明する。これは、図1のエディタ1を用い、ディスプレ
イ装置9の画面上で作成した図記号プログラムを、自動
的に流通プログラムに変換し、記憶装置10に書き込
み、保存するときのものである。
The storage device 10 is a large-capacity external storage device, and stores the distribution program 11 here. Next, a write operation will be described in detail with reference to FIG. This is when the editor 1 of FIG. 1 is used to automatically convert the graphic symbol program created on the screen of the display device 9 into a distribution program, which is written and stored in the storage device 10.

【0022】図2において、S1は、編集が終わったプ
ログラム(図記号プログラム)を図記号形式で一時格納
領域7に格納する。これは、ディスプレイ装置9の画面
上に表示して編集の終わった、例えば図4の図記号プロ
グラムの表示例についての図記号形式の図5の図記号プ
ログラムを一時格納領域7に格納する。
In FIG. 2, S1 stores the edited program (graphic symbol program) in the temporary storage area 7 in the graphic symbol format. This stores in the temporary storage area 7 the graphic symbol program shown in FIG. 5 in the graphic symbol format for the display example of the graphic symbol program shown in FIG.

【0023】S2は、一時格納領域7の図記号プログラ
ム12を変換処理3によって流通形式の流通プログラム
11に変換する。これは、S2で一時格納領域7に格納
した、例えば図5の図記号プログラムを、図6の流通プ
ログラム11に変換する。
In S2, the graphic symbol program 12 in the temporary storage area 7 is converted into the distribution program 11 in the distribution format by the conversion process 3. This converts, for example, the graphic symbol program of FIG. 5 stored in the temporary storage area 7 in S2 into the distribution program 11 of FIG.

【0024】S3は、流通形式化されたソースプログラ
ム(流通プログラム11)を記憶装置10に書き込み、
保存する。これは、S2で図6に示すように変換した流
通プログラム(構造表記の情報を持たないプログラム)
を、記憶装置10に保存する。この保存した流通プログ
ラム11をコンパイラによって翻訳し、実行可能形式の
モジュールを作成したりなどする。また、保存した流通
プログラム11を修正などするときは、記憶装置10か
ら取り出し、図3の流れ図に従って編集する。
In S3, the source program in the form of a distribution (distribution program 11) is written in the storage device 10,
save. This is a distribution program converted in S2 as shown in FIG. 6 (a program that does not have information on the structure notation)
Are stored in the storage device 10. The stored distribution program 11 is translated by a compiler to create an executable module. When the stored distribution program 11 is modified, it is taken out from the storage device 10 and edited according to the flowchart of FIG.

【0025】以上のように、エディタ1を用い、ディス
プレイ装置9の画面上で図記号プログラムを表示して編
集したり、図記号を用いて作成した図記号プログラムに
ついて、自動的に流通プログラム11に変換して記憶装
置10に保存することにより、利用者がエディタ1を使
って作成したプログラムを流通形式の形で保存でき、コ
ンパイラで翻訳するときに即翻訳して実行可能形式のモ
ジュールを作成したりなどし、流通性の高い資産として
保存したりすることが可能となる。
As described above, the editor 1 is used to display and edit the graphic symbol program on the screen of the display device 9, or the graphic symbol program created using graphic symbols is automatically converted into the distribution program 11. By converting and storing in the storage device 10, the user can save the program created by using the editor 1 in a distribution format, and immediately translate it by the compiler to create an executable module. It becomes possible to store them as highly distributed assets.

【0026】次に、図3を用いて読み出し時の動作を詳
細に説明する。これは、図1のエディタ1を用い、記憶
装置10に保存されている流通プログラム11を自動的
に図記号プログラムに変換してディスプレイ装置9の画
面上に表示し、利用者が編集するときのものである。編
集した後の図記号プログラムは、既述した図2の流れ図
に従って、自動的に流通プログラム11に変換して記憶
装置10に保存する。
Next, the read operation will be described in detail with reference to FIG. This is because when the editor 1 shown in FIG. 1 is used, the distribution program 11 stored in the storage device 10 is automatically converted into a graphic symbol program and displayed on the screen of the display device 9 for editing by the user. It is a thing. The graphic symbol program after editing is automatically converted into the distribution program 11 and stored in the storage device 10 in accordance with the flow chart of FIG. 2 described above.

【0027】図3において、S11は、記憶装置のプロ
グラム(流通プログラム11)を読み込んで一時格納領
域7に格納する。これは、編集指示された流通プログラ
ム11を記憶装置10から読み出し、一時格納領域7に
格納する。
In FIG. 3, in S11, the program (distribution program 11) in the storage device is read and stored in the temporary storage area 7. This reads the distribution program 11 instructed to be edited from the storage device 10 and stores it in the temporary storage area 7.

【0028】S12は、一時格納領域7の流通形式のプ
ログラムを変換処理2によって図記号(図記号プログラ
ム12)に変換する。これは、例えば図6の流通プログ
ラムを、図5の図記号プログラムに変換する。
In step S12, the distribution format program in the temporary storage area 7 is converted into a graphic symbol (graphic symbol program 12) by the conversion process 2. This converts, for example, the distribution program of FIG. 6 into the graphic symbol program of FIG.

【0029】S13は、図記号に変換されたソースプロ
グラム(図記号プログラム12)を編集バッファ6に格
納する。これは、S12で例えば図6の流通プログラム
を、図5の図記号プログラムに変換し、これを図1の編
集バッファメモリ6に格納する。そして、この編集バッ
ファメモリ6中の図5の図記号プログラム12をもと
に、表示処理4がディスプレイ装置10の画面上に、図
4に示すように表示する。利用者は、この画面上に表示
された図4の図記号プログラムについて編集(修正、追
加など)する。編集後は、既述した図2の流れ図に従っ
て元の流通プログラム11に変換し、記憶装置10に保
存する。
In step S13, the source program (graphic symbol program 12) converted into graphic symbols is stored in the edit buffer 6. In S12, for example, the distribution program of FIG. 6 is converted into the graphic symbol program of FIG. 5, and this is stored in the edit buffer memory 6 of FIG. Then, based on the graphic symbol program 12 of FIG. 5 in the edit buffer memory 6, the display processing 4 displays it on the screen of the display device 10 as shown in FIG. The user edits (corrects, adds, etc.) the graphic symbol program of FIG. 4 displayed on this screen. After editing, the original distribution program 11 is converted according to the flow chart of FIG.

【0030】以上のように、エディタ1を用い、記憶装
置10から指示された流通プログラム11を自動的に図
記号プログラム12に変換して編集バッファメモリ6に
格納し、これをもとにディスプレイ装置9の画面上に図
記号プログラムを表示する。利用者は画面上に表示され
た図記号プログラムについて編集(修正、変更、追加な
ど)を行う。編集後は、既述した図2の流れ図に従って
もとの流通プログラム11に変換し、記憶装置10に保
存する。これにより、利用者はエディタ1の使用時に、
流通プログラム11を意識することなく流通プログラム
11が図記号プログラムに自動変換されて画面上に表示
され、編集を行うことが可能となる。
As described above, using the editor 1, the distribution program 11 instructed from the storage device 10 is automatically converted into the graphic symbol program 12 and stored in the edit buffer memory 6, and the display device is based on this. The graphic symbol program is displayed on the screen of FIG. The user edits (corrects, changes, adds, etc.) the graphic symbol program displayed on the screen. After editing, the original distribution program 11 is converted into the original distribution program 11 according to the flow chart of FIG. As a result, when the user uses the editor 1,
The distribution program 11 can be automatically converted into a graphic symbol program and displayed on the screen without being conscious of the distribution program 11 and can be edited.

【0031】図4は、本発明の図記号プログラムの表示
例を示す。これは、ディスプレイ装置9の画面上に図記
号を用いて表示した図記号プログラムの例であって、図
6の図記号プログラムを表示したものである。ここで、
左側の1から29は、行番号を表す。縦棒は制御を表
す。例えば1行目の[[stwhile]](voi
d)は、図5の1行目のプログラム単位 stwhil
e(void)に対応して表示したものである。ここで
[[、]]はプログラム単位に対応している。
FIG. 4 shows a display example of the graphic symbol program of the present invention. This is an example of the graphic symbol program displayed by using graphic symbols on the screen of the display device 9, and the graphic symbol program of FIG. 6 is displayed. here,
1 to 29 on the left side represent line numbers. Vertical bars represent controls. For example, [[stwhite]] (voi in the first line
d) is the program unit stwhil on the first line in FIG.
It is displayed corresponding to e (void). Here, [[,]] corresponds to a program unit.

【0032】2行目の□データ部は、図5の2行目のデ
ータ部に対応して表示したものである。以下同様に、図
5の内部形式の図記号プログラムを表示すると、図4に
表示するようになる。
The □ data part on the second line is displayed corresponding to the data part on the second line in FIG. Similarly, when the graphic symbol program in the internal format of FIG. 5 is displayed, it is displayed in FIG.

【0033】図5は、本発明の図記号プログラム内部形
式例を示す。これは、図4のディスプレイ装置9の画面
上に表示した図記号プログラムの内部形式であって、こ
の図5の内部形式の図記号プログラム11をもとに図4
をディスプレイ装置9の画面上に表示するようにしてい
る。
FIG. 5 shows an example of the internal format of the graphic symbol program of the present invention. This is the internal format of the graphic symbol program displayed on the screen of the display device 9 of FIG. 4, and based on the graphic symbol program 11 of the internal format of FIG.
Is displayed on the screen of the display device 9.

【0034】また、この図5は、エディタ1を用い、流
通プログラム11を編集するときに、記憶装置10から
取り出した図6の流通プログラム11から自動的に図記
号プログラム11に変換したものである。ここで、記号
は最大8文字であって、画面上に表示する記号のタイプ
を表す。テキストは画面上に表示するテキスト(文字)
を表す。例えば図5の1行目のプログラム単位 stw
hile(void)は、図6の1行のstwhile
(void)から変換したものである。これは、プログ
ラム単位に割り付けたものである。
In FIG. 5, when the distribution program 11 is edited using the editor 1, the distribution program 11 of FIG. 6 extracted from the storage device 10 is automatically converted into the graphic symbol program 11. .. Here, the symbol has a maximum of 8 characters and represents the type of the symbol displayed on the screen. Text is the text (character) displayed on the screen
Represents. For example, the program unit stw in the first line of FIG.
hile (void) is the one of line 1 in FIG.
It is converted from (void). This is assigned to each program.

【0035】図5の2行目のデータ部は、図6にはな
く、追加してプログラムの制御構造を見やすくしたもの
である。図5の3行目の通常行 int rcは、図6
の3行目のint rc;から変換したものである。以
下同様にして変換すると、図6から図5が得られる。
The data section on the second line in FIG. 5 is not shown in FIG. 6, but is added to make the control structure of the program easier to see. The normal line int rc on the third line in FIG.
Is converted from int rc; in the third line of. When the conversion is performed in the same manner, FIGS. 6 to 5 are obtained.

【0036】図6は、本発明の流通プログラム例を示
す。これは、図1の記憶装置10に保存する流通プログ
ラムを示し、ここではC言語で記述した流通プログラム
である。この流通プログラム11は、図5の図記号プロ
グラムを自動変換して格納、あるいは他から格納したも
のである。例えば図6の1行目のstwhile(vo
id)は、図5の1行目のプログラム単位 stwhi
le(void)から変換したものである。ここで、流
通プログラム11のC言語には、プログラム単位の記述
はないのでプログラム単位を削除し、stwhile
(void)とする。また、図5の2行目のデータ部
は、C言語にはないので図6では削除する。
FIG. 6 shows an example of the distribution program of the present invention. This shows a distribution program stored in the storage device 10 of FIG. 1, and is a distribution program described in C language here. The distribution program 11 is a program obtained by automatically converting the graphic symbol program shown in FIG. For example, in the first line of FIG. 6, stwhile (vo
id) is the program unit stwhi on the first line in FIG.
It is a conversion from le (void). Here, since there is no description of the program unit in the C language of the distribution program 11, the program unit is deleted and the
(Void). Further, the data section of the second line in FIG. 5 is not in C language, so it is deleted in FIG.

【0037】図6の3行目のint rc;は、図5の
3行目の通常行 int rcから変換したものであ
る。ここで、;はC言語で追加してものであって、文の
終わりを表す。同様に図示したように変換すると、図5
の図記号プログラムから図6のC言語の流通プログラム
に変換される。
The int rc; on the third line in FIG. 6 is converted from the normal line int rc on the third line in FIG. Here ,; is added in C language and represents the end of the sentence. Similarly, when converted as shown in FIG.
6 is converted into the C language distribution program of FIG.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
エディタ1に流通プログラム11から図記号プログラム
12に自動変換して表示、および編集後の図記号プログ
ラム12を流通プログラム11に自動変換して保存する
機能を持たせる構成を採用しているため、エディタ1を
用い、利用者が意識することなく流通プログラム11を
図記号プログラム12として簡単に取り扱えるようにす
ることができると共に、流通プログラム11で保存して
流通性を確保することができる。また、流通プログラム
11で保存し、従来の図記号プログラムと流通プログラ
ムとの間の版数ずれの発生を防止できる。これらによ
り、流通プログラム11を保存して資産とし、プログラ
ムの流通性を確保および従来の図記号プログラム12と
流通プログラム11との相違の発生を防止することがで
きる。
As described above, according to the present invention,
Since the editor 1 has a function of automatically converting the distribution program 11 to the graphic symbol program 12 for display and automatically converting the edited graphic symbol program 12 into the distribution program 11 and storing the edited graphic symbol program 12, the editor 1 1, the distribution program 11 can be easily handled as the graphic symbol program 12 without the user's awareness, and the distribution program 11 can save the distribution program 11 to ensure the distribution property. In addition, the distribution program 11 saves the version number between the conventional graphic symbol program and the distribution program, so that the version number can be prevented from occurring. As a result, the distribution program 11 can be saved and used as an asset to ensure the distribution of the program and prevent the generation of the difference between the conventional graphic symbol program 12 and the distribution program 11.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の書き込み時の流れ図である。FIG. 2 is a flowchart at the time of writing of the present invention.

【図3】本発明の読み出し時の流れ図である。FIG. 3 is a flowchart at the time of reading according to the present invention.

【図4】本発明の図記号プログラムの表示例である。FIG. 4 is a display example of a graphic symbol program of the present invention.

【図5】本発明の図記号プログラムの内部形式例であ
る。
FIG. 5 is an example of an internal format of a graphic symbol program of the present invention.

【図6】本発明の流通プログラム例である。FIG. 6 is an example of a distribution program of the present invention.

【符号の説明】[Explanation of symbols]

1:エディタ 2、3:変換処理 4:表示処理 5:主制御装置 6:編集バッファメモリ 7:一時格納領域 8:キーボード入力装置 9:ディスプレイ装置 11:流通プログラム 12:図記号プログラム 1: Editor 2, 3: Conversion process 4: Display process 5: Main control device 6: Editing buffer memory 7: Temporary storage area 8: Keyboard input device 9: Display device 11: Distribution program 12: Graphic symbol program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】プログラムの制御構造を図記号で表示して
編集するエディタにおいて、 流通プログラム(構造表記の情報を持たないプログラ
ム)を図記号プログラムに変換して画面上に表示し、画
面上で編集された図記号プログラムをもとの流通プログ
ラムに戻し、保存するように構成したことを特徴とする
エディタ。
1. An editor for displaying and editing a control structure of a program in a graphic symbol, converting a distribution program (a program that does not have information of structure notation) into a graphic symbol program and displaying it on the screen. An editor characterized in that the edited graphic symbol program is restored to the original distribution program and saved.
【請求項2】プログラムの制御構造を図記号で表示して
編集するエディタにおいて、 流通プログラムを図記号プログラムに変換する変換処理
(2)と、 図記号プログラムを流通プログラムに変換する変換処理
(3)とを備え、 上記変換処理(2)が指示された流通プログラムを図記
号プログラムに変換し、これを画面上に図記号として表
示し、 画面上で編集されたことに対応して、上記変換処理
(3)がこの編集後の図記号プログラムを元の流通プロ
グラムに変換し、保存するように構成したことを特徴と
するエディタ。
2. An editor for displaying and editing a control structure of a program in a graphic symbol, a conversion process (2) for converting a distribution program into a graphic symbol program, and a conversion process (3) for converting a graphic symbol program into a distribution program. ) And converting the distribution program instructed by the conversion process (2) into a graphic symbol program, displaying this as a graphic symbol on the screen, and corresponding to the fact that it has been edited on the screen, the above conversion An editor characterized in that the processing (3) is configured to convert the edited graphic symbol program into an original distribution program and save the converted program.
JP3173692A 1992-02-19 1992-02-19 Editor Pending JPH05233255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3173692A JPH05233255A (en) 1992-02-19 1992-02-19 Editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3173692A JPH05233255A (en) 1992-02-19 1992-02-19 Editor

Publications (1)

Publication Number Publication Date
JPH05233255A true JPH05233255A (en) 1993-09-10

Family

ID=12339325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3173692A Pending JPH05233255A (en) 1992-02-19 1992-02-19 Editor

Country Status (1)

Country Link
JP (1) JPH05233255A (en)

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
WO2006103760A1 (en) Document conversion use system
JPH05233255A (en) Editor
JP2009163524A (en) Arithmetic processing unit
JPS60118885A (en) Word processor
JPS5969831A (en) Device for documentation
JP3674905B2 (en) Document editing device
JP3050811B2 (en) Parsing tree database construction support device
JPH0470962A (en) Data processor
JPS62186339A (en) Compiling error display system in text editor
JP3632982B2 (en) File management method
JPH03266172A (en) Word processor
JPS62171068A (en) Document preparing device
JPH04195582A (en) Method for processing document
JP2000089946A (en) Method for customizing message text and help text and recording medium storing program for executing the customizing method
JPH11120175A (en) Structured document display system and storage medium recording program functioning computer as structured document display system
JPH07114458A (en) Text file edit method
JPH02297156A (en) Word processor with annotation function
JP2001005703A (en) Method and system for generating text type file
JPH11149522A (en) Handwritten character input device and computer readable recording medium recorded with handwritten character input program
JPH05242080A (en) Character processor
JPH05108334A (en) State transition table editor
JPH05334295A (en) Screen editor with fair copy function
JP2004252890A (en) Text data creation method, text data creation device and computer program
JPH04171574A (en) Document processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000307