JPH06131166A - Term generator by graphic input - Google Patents

Term generator by graphic input

Info

Publication number
JPH06131166A
JPH06131166A JP30772592A JP30772592A JPH06131166A JP H06131166 A JPH06131166 A JP H06131166A JP 30772592 A JP30772592 A JP 30772592A JP 30772592 A JP30772592 A JP 30772592A JP H06131166 A JPH06131166 A JP H06131166A
Authority
JP
Japan
Prior art keywords
graphic object
term
graphic
editing
input
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
JP30772592A
Other languages
Japanese (ja)
Inventor
Yoshikazu Sotani
吉和 祖谷
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 JP30772592A priority Critical patent/JPH06131166A/en
Publication of JPH06131166A publication Critical patent/JPH06131166A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a term generator by graphic input capable of generating terms to be processed by a term reloading software generator by the graphic input. CONSTITUTION:A knowledge base 37 stores knowledge required for generating the terms from graphic object internal expression. When an user performs the various kinds of operations for editing graphics from an input device 1 so as to express the specification of a program to be designed by using predetermined graphic symbols, an editing means 31 edits the graphic object internal expression 38 on a temporary storage means 39 and a display means 32 monitor displays the graphics corresponding to the graphic object internal expression 38 at an output device 2. When the user finishes editing and starts a graphic object term generation means 34 from the input device 1, the means 34 converts the editing-comleted graphic object internal expression 38 to the form of the terms to be inputted to the term reloading software generator 5 by utilizing the knowledge of the knowledge base 37 and outputs it as graphic object terms 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラム自動作成装
置の一種である項書き換えソフトウェア生成装置で処理
すべき項と呼ばれるデータを、図形入力によって生成す
ることができる図形入力による項生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a term generation device by graphic input capable of generating data called a term to be processed by a term rewriting software generation device, which is a kind of automatic program generation device, by graphic input.

【0002】[0002]

【従来の技術】プログラム自動作成装置の一種である項
書き換えソフトウェア生成装置は、設計知識ベースを用
いてプログラムの仕様の変換を繰り返して目的とするプ
ログラムを生成するものである(例えば、特願平3−6
9135号参照)。
2. Description of the Related Art A term rewriting software generation apparatus, which is a type of automatic program generation apparatus, generates a desired program by repeatedly converting program specifications using a design knowledge base (for example, Japanese Patent Application No. 3-6
9135).

【0003】そして、この種のプログラム自動作成装置
では、作成しようとするプログラムの仕様はテキスト形
式で入力することが前提となっており、プログラム自動
作成装置内でこの入力されたテキスト形式のプログラム
仕様を項と呼ばれるデータ形式に変換し、その項に対し
て設計知識ベースを適用してプログラムを生成してい
る。
In this type of automatic program creating apparatus, it is premised that the specifications of the program to be created are input in the text format. In the automatic program creating apparatus, the input text format program specifications are specified. Is converted into a data format called a term, and the design knowledge base is applied to the term to generate a program.

【0004】[0004]

【発明が解決しようとする課題】このように従来におい
ては、利用者はテキスト形式でプログラム仕様を入力す
る必要があるので、プログラムの仕様を視覚的に捉え難
く、設計しようとするプログラム全体を把握するのが容
易でなかった。また、ソフトウェアモデルには、図形記
号で取り扱われるものが多いが、そのようなソフトウェ
アモデルを項書き換えソフトウェア生成装置で取り扱う
場合、同様な図形記号でプログラム仕様を記述できず利
用勝手が悪かった。
As described above, in the past, since the user had to input the program specifications in the text format, it was difficult to visually grasp the program specifications and grasp the entire program to be designed. It wasn't easy to do. Most software models are handled by graphic symbols, but when such a software model is handled by a term rewriting software generation device, the program specifications cannot be described by similar graphic symbols, and the usability is poor.

【0005】本発明はこのような事情に鑑みて為された
ものであり、その目的は、項書き換えソフトウェア生成
装置で処理させる項を、図形入力によって生成すること
ができる図形入力による項生成装置を提供することにあ
る。
The present invention has been made in view of such circumstances, and an object thereof is to provide a term generation device by graphic input capable of generating a term to be processed by the term rewriting software generation device by graphic input. To provide.

【0006】[0006]

【課題を解決するための手段】本発明は上記の目的を達
成するために、入力装置と、出力装置と、前記入力装置
から入力された情報に従って一時記憶手段上で図形オブ
ジェクト内部表現の編集を行う図形オブジェクト編集手
段と、前記一時記憶手段上の図形オブジェクト内部表現
に対応する図形を前記出力装置に表示する図形オブジェ
クト表示手段と、図形オブジェクト内部表現から項を生
成するのに必要な知識を格納した図形オブジェクト項形
式知識ベースと、編集の終了した前記一時記憶手段上の
図形オブジェクト内部表現を、前記図形オブジェクト項
形式知識ベースの知識を利用して、項書き換えソフトウ
ェア生成装置に入力する項の形式に変換する図形オブジ
ェクト項生成手段とを備えている。
In order to achieve the above object, the present invention edits an internal representation of a graphic object on an input device, an output device, and temporary storage means in accordance with information input from the input device. Graphic object editing means for performing, graphic object display means for displaying a graphic corresponding to the graphic object internal representation on the temporary storage means on the output device, and knowledge necessary for generating terms from the graphic object internal representation. The format of terms for inputting the graphic object term format knowledge base that has been edited and the internal representation of the graphic object on the temporary storage means that has been edited to the term rewriting software generation device using the knowledge of the graphic object term format knowledge base. And a graphic object term generation means for converting into.

【0007】また、図形オブジェクトファイルと、該図
形オブジェクトファイルと前記一時記憶手段との間で図
形オブジェクト内部表現の入出力を行う図形オブジェク
トファイルアクセス手段と、前記入力装置から入力され
た情報に従って前記図形オブジェクト項形式知識ベース
の編集を行う図形オブジェクト項形式編集手段とを備え
ている。
Further, a graphic object file, a graphic object file access means for inputting and outputting the internal representation of the graphic object between the graphic object file and the temporary storage means, and the graphic object according to the information inputted from the input device. A graphic object term format editing means for editing the object term format knowledge base is provided.

【0008】[0008]

【作用】本発明の図形入力による項生成装置において
は、図形オブジェクト項形式知識ベースが図形オブジェ
クト内部表現から項を生成するのに必要な知識を格納し
ており、利用者が設計しようとするプログラムの仕様を
予め定められた図形記号を使って表現するために入力装
置から図形の編集にかかる各種の操作を行うと、図形オ
ブジェクト編集手段がその入力された情報に従って一時
記憶手段上で図形オブジェクト内部表現の編集を行うと
共に、図形オブジェクト表示手段がその図形オブジェク
ト内部表現に対応する図形を出力装置にモニタ表示し、
利用者が編集を終えて図形オブジェクト項生成手段を入
力装置から起動すると、図形オブジェクト項生成手段
が、編集の終了した一時記憶手段上の図形オブジェクト
内部表現を、図形オブジェクト項形式知識ベースの知識
を利用して、項書き換えソフトウェア生成装置に入力す
る項の形式に変換する。
In the term input device for figure input according to the present invention, the knowledge object required for generating terms from the internal representation of the figure object is stored in the figure object term format knowledge base, and the program designed by the user is designed. When various operations relating to the editing of a graphic are performed from the input device in order to express the specifications of the graphic using a predetermined graphic symbol, the graphic object editing means performs the internal operation of the graphic object on the temporary storage means according to the input information. While editing the expression, the graphic object display means displays on the output device a graphic corresponding to the internal expression of the graphic object on the monitor,
When the user finishes editing and activates the graphic object term generation means from the input device, the graphic object term generation means uses the knowledge of the graphic object term format knowledge base to represent the internal representation of the graphic object on the temporary storage means after the editing. It is used to convert to the format of the term input to the term rewriting software generation device.

【0009】[0009]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0010】図1を参照すると、本発明を適用したプロ
グラム自動作成装置の一例は、入力装置1と、出力装置
2と、項生成装置3と、項書き換えソフトウェア生成装
置5とで構成されている。
Referring to FIG. 1, an example of a program automatic creation device to which the present invention is applied is composed of an input device 1, an output device 2, a term generation device 3, and a term rewriting software generation device 5. .

【0011】入力装置1は利用者からの入力を受け付け
る装置で、例えばキーボードおよびマウスで構成され、
出力装置2は編集結果を利用者に表示する装置で、CR
T等のディスプレイ装置で構成される。
The input device 1 is a device that receives an input from a user, and is composed of, for example, a keyboard and a mouse.
The output device 2 is a device for displaying the edited result to the user.
It is composed of a display device such as T.

【0012】項生成装置3は、入力装置1からの入力情
報に従って図形入力による項の生成を支援する装置であ
り、編集中の図形を出力装置2にモニタ表示すると共
に、生成した項を図形オブジェクト項4として項書き換
えソフトウェア生成装置5に出力する。
The term generation device 3 is a device that supports generation of terms by graphic input according to input information from the input device 1. The term generation device 3 displays the figure being edited on the output device 2 on a monitor and the generated terms are generated as graphic objects. The term 4 is output to the term rewriting software generation device 5.

【0013】この項生成装置3は、図形オブジェクト編
集手段31と、図形オブジェクトファイルアクセス手段
32と、図形オブジェクト表示手段33と、図形オブジ
ェクト項生成手段34と、図形オブジェクト項形式編集
手段35と、図形オブジェクトファイル36と、図形オ
ブジェクト項形式知識ベース37と、図形オブジェクト
内部表現38を保持する一時記憶手段39とを含んでい
る。
The term generation device 3 includes a graphic object editing means 31, a graphic object file access means 32, a graphic object display means 33, a graphic object term generation means 34, a graphic object term format editing means 35, and a graphic. It includes an object file 36, a graphic object item format knowledge base 37, and a temporary storage means 39 for holding a graphic object internal representation 38.

【0014】図形オブジェクト内部表現38は、図形
を、その位置情報,図形のカテゴリ情報,図形の名前情
報,他の図形との関係情報等を持つオブジェクトとして
表現したものである。
The figure object internal representation 38 represents a figure as an object having its position information, figure category information, figure name information, relationship information with other figures, and the like.

【0015】図形オブジェクト編集手段31は、入力装
置1からの図形編集要求に従って、一時記憶手段39中
に図形オブジェクト内部表現38を生成し、また生成し
た図形オブジェクト内部表現38に対して編集処理を行
う手段である。編集処理には、図形オブジェクトの指
定,図形オブジェクト名定義,図形オブジェクト間の関
係定義,カット,コピー,ペースト,移動,削除や、処
理のアンドウ,リドウなどがある。
The graphic object editing means 31 generates a graphic object internal representation 38 in the temporary storage means 39 in accordance with a graphic edit request from the input device 1 and performs an edit process on the generated graphic object internal representation 38. It is a means. The edit processing includes designation of graphic objects, definition of graphic object names, definition of relationships between graphic objects, cut, copy, paste, move, delete, and undo / redo of processing.

【0016】図形オブジェクト表示手段33は、一時記
憶手段39に保持されている図形オブジェクト内部表現
38に相当する図形、すなわち利用者が入力装置1を使
って作成した、設計しようとするプログラムの仕様を表
す図形を出力装置2にモニタ表示する手段である。
The graphic object display means 33 displays the graphic corresponding to the graphic object internal representation 38 held in the temporary storage means 39, that is, the specifications of the program to be designed which the user has created using the input device 1. It is a means for displaying the represented figure on the output device 2 on a monitor.

【0017】図形オブジェクトファイル36は、図形オ
ブジェクト内部表現を保存するファイルである。
The graphic object file 36 is a file for storing the internal representation of the graphic object.

【0018】図形オブジェクトファイルアクセス手段3
2は、入力装置1からの要求に従い、一時記憶手段39
に保持された図形オブジェクト内部表現38を図形オブ
ジェクトファイル36に保存したり、逆に図形オブジェ
クトファイル36に保存された図形オブジェクト内部表
現を一時記憶手段39に展開する手段である。
Graphic object file access means 3
2 is a temporary storage unit 39 according to a request from the input device 1.
Is a means for storing the graphic object internal representation 38 held in the graphic object file 36, and conversely expanding the graphic object internal representation stored in the graphic object file 36 into the temporary storage means 39.

【0019】図形オブジェクト項形式知識ベース37
は、図形オブジェクトと項の形式の関係定義等、図形オ
ブジェクト内部表現を項へ変換するのに必要な知識を格
納した知識ベースである。
Graphic Object Term Format Knowledge Base 37
Is a knowledge base that stores the knowledge necessary for converting the internal representation of the graphic object into terms, such as the definition of the relationship between the shape of the graphic object and the term.

【0020】図形オブジェクト項形式編集手段35は、
入力装置1からの要求に従って図形オブジェクト項形式
知識ベース37の編集を行う手段である。
The graphic object term format editing means 35
This is means for editing the graphic object term format knowledge base 37 in accordance with a request from the input device 1.

【0021】図形オブジェクト項生成手段34は、図形
オブジェクト項形式知識ベース37の知識を参照しなが
ら、一時記憶手段39に保持された図形オブジェクト内
部表現38を図形オブジェクト項4に変換する手段であ
る。
The graphic object term generation means 34 is a means for converting the graphic object internal representation 38 held in the temporary storage means 39 into the graphic object term 4 while referring to the knowledge of the graphic object term format knowledge base 37.

【0022】また図1における項書き換えソフトウェア
生成装置5は、項生成装置3の生成した図形オブジェク
ト項4を入力して処理することによりソースプログラム
6を生成する装置であり、書き換え実行手段51と、書
き換え規則編集手段52と、書き換え規則知識ベース5
3と、書き換え制御知識ベース54とを含んでいる。
The term rewriting software generation device 5 in FIG. 1 is a device for generating a source program 6 by inputting and processing the graphic object term 4 generated by the term generation device 3, and rewriting execution means 51, Rewriting rule editing means 52 and rewriting rule knowledge base 5
3 and a rewrite control knowledge base 54.

【0023】書き換え規則知識ベース53と書き換え制
御知識ベース54とで項の書き換えにかかる設計知識ベ
ースを構成し、そのうち書き換え規則知識ベース53は
図形オブジェクト項を書き換えてソースプログラムを得
るために必要な書き換え規則自体を格納し、書き換え制
御知識ベース54は書き換え規則知識ベース53中の適
用すべき書き換え規則の順序を指定する制御知識を格納
する。
The rewriting rule knowledge base 53 and the rewriting control knowledge base 54 constitute a design knowledge base for rewriting the terms, and the rewriting rule knowledge base 53 rewrites the graphic object terms to obtain the source program. The rules themselves are stored, and the rewriting control knowledge base 54 stores the control knowledge that specifies the order of the rewriting rules to be applied in the rewriting rule knowledge base 53.

【0024】書き換え実行手段51は、書き換え規則知
識ベース53および書き換え制御知識ベース54に格納
された知識を参照しながら、図形オブジェクト項4をソ
ースプログラム6に書き換える手段である。
The rewriting execution means 51 is means for rewriting the graphic object term 4 into the source program 6 while referring to the knowledge stored in the rewriting rule knowledge base 53 and the rewriting control knowledge base 54.

【0025】書き換え規則編集手段52は、入力装置1
からの要求に従って書き換え規則知識ベース53および
書き換え制御知識ベース54の編集を行う手段である。
The rewriting rule editing means 52 is the input device 1
It is a means for editing the rewriting rule knowledge base 53 and the rewriting control knowledge base 54 in accordance with the request from the.

【0026】なお、項書き換えソフトウェア生成装置5
自体の構成は従来より提案されているものを利用でき、
本実施例のソフトウェア自動生成装置は、そのような項
書き換えソフトウェア生成装置5の前段部に図形入力に
よる項生成装置3を設けた点を特徴としている。
The term rewriting software generation device 5
The structure of itself can use what has been proposed so far,
The automatic software generation device of the present embodiment is characterized in that a term generation device 3 for graphic input is provided in the preceding stage of such a term rewriting software generation device 5.

【0027】以下、本実施例の動作を説明する。なお、
本実施例のソフトウェア自動生成装置では各種のソース
プログラムの作成が可能であるが、以下では、状態遷移
図に基づき、当該状態遷移図で表現された論理を実現す
るソースプログラムを作成する場合を例にして説明す
る。
The operation of this embodiment will be described below. In addition,
Although various source programs can be created by the automatic software generation device of the present embodiment, an example of creating a source program that realizes the logic expressed by the state transition diagram will be described below based on the state transition diagram. And explain.

【0028】このような場合、図1の図形オブジェクト
項形式編集手段35を使って、図1の図形オブジェクト
項形式知識ベース37に、例えば以下のような知識を事
前に格納しておく。
In such a case, the following knowledge, for example, is stored in advance in the graphic object term format knowledge base 37 of FIG. 1 using the graphic object term format editing means 35 of FIG.

【0029】状態遷移図で使用される図2(a)の如
き、状態Aであることを示す図形記号用に、 termname : state ; arity(1) : A; 同図(b)の如き、イベントBが発生したことを示す図
形記号用に、 termname : event ; arity(1) : B; 同図(c)の如き、アクションCを実行することを示す
図形記号用に、 termname : action ; arity(1) : C ; 同図(d)の如き、同図(a)〜(c)の図形記号の連
結を意味する図形記号用に、 termname : combination ; arity(1) : start ; arity(2) : end ; を格納しておく。
As shown in FIG. 2 (a) used in the state transition diagram, for the graphic symbol indicating the state A, termname: state; arity (1): A; event as shown in FIG. 2 (b). For the graphic symbol indicating that B has occurred, termname: event; arity (1): B; For the graphic symbol indicating that the action C is to be executed, as shown in FIG. 7C, termname: action; arity ( 1): C; For a graphic symbol that means the connection of the graphic symbols of (a) to (c) in the same figure (d), termname: combination; arity (1): start; arity (2) : End; is stored.

【0030】なお、一般に項の形式は、N(A1,A
2,…,An)となるが、Nをtermname、括弧内のA1
等をarity と称し、arity(i)は第i番目のarity を意味
する。
In general, the form of the term is N (A1, A
2, ..., An), where N is the termname and A1 in parentheses
Etc. are called arity, and arity (i) means the i-th arity.

【0031】また、以下のような知識も図形オブジェク
ト項形式知識ベース37に格納しておく。
The following knowledge is also stored in the graphic object term format knowledge base 37.

【0032】なお、書き換え規則知識ベース53および
書き換え制御知識ベース54にも、書き換え規則編集手
段52を使って必要な知識を事前に格納しておくことは
勿論のことである。
It is needless to say that the rewriting rule knowledge base 53 and the rewriting control knowledge base 54 also store the necessary knowledge in advance by using the rewriting rule editing means 52.

【0033】さて、以上のような準備が完了した後、利
用者は、入力装置1を操作して図形オブジェクト編集手
段31を起動し、その編集機能を利用して、設計しよう
とするソースプログラムの仕様を表す状態遷移図を作成
する。このとき、図形オブジェクト編集手段31は入力
装置1から入力されるデータや指定等に従って一時記憶
手段39中に該当する図形オブジェクト内部表現を生成
し、また生成された図形オブジェクト内部表現を指定さ
れた通りに更新する処理を行い、その時々の図形オブジ
ェクト内部表現38の状態に対応する状態遷移図、つま
り利用者が作成している状態遷移図を図形オブジェクト
表示手段33が出力装置2の画面にモニタ表示してい
る。
After the above-mentioned preparations are completed, the user operates the input device 1 to activate the graphic object editing means 31 and use the editing function of the source program to be designed. Create a state transition diagram that represents the specifications. At this time, the graphic object editing means 31 generates the corresponding graphic object internal representation in the temporary storage means 39 according to the data input from the input device 1, the designation, and the like, and the generated graphic object internal representation as specified. Is executed, and the state transition diagram corresponding to the state of the graphic object internal representation 38 at each time, that is, the state transition diagram created by the user is displayed on the screen of the output device 2 by the graphic object display means 33 on the monitor. is doing.

【0034】図3は、このようにして作成された状態遷
移図の一例であり、図2に示した図形記号を使って或る
状態遷移を表現している。
FIG. 3 is an example of a state transition diagram created in this way, and expresses a certain state transition using the graphic symbols shown in FIG.

【0035】次に利用者は、図3のような状態遷移図を
完成すると、入力装置1から図形オブジェクト項生成手
段34を起動する。
Next, when the user completes the state transition diagram as shown in FIG. 3, the user activates the graphic object term generation means 34 from the input device 1.

【0036】図形オブジェクト項生成手段34は起動さ
れると、図形オブジェクト項形式知識ベース37に格納
された前述の知識を参照しながら、一時記憶手段39に
格納されている図3に示す状態遷移図に対応する図形オ
ブジェクト内部表現38を処理し、この図形オブジェク
ト内部表現38に対応する項である図形オブジェクト項
4を生成する。これにより、以下のような構成の図形オ
ブジェクト項4が生成される。
When the graphic object term generation means 34 is activated, the state transition diagram shown in FIG. 3 stored in the temporary storage means 39 with reference to the aforementioned knowledge stored in the graphic object term format knowledge base 37. The graphic object internal representation 38 corresponding to is processed to generate a graphic object term 4 which is a term corresponding to the graphic object internal representation 38. As a result, the graphic object term 4 having the following structure is generated.

【0037】 [0037]

【0038】これで、項書き換えソフトウェア生成装置
5が処理し得る項形式が得られたことになり、利用者が
入力装置1から書き換え実行手段51を起動すると、書
き換え実行手段51は、書き換え制御知識ベース54中
の書き換え制御知識に従って、書き換え規則知識ベース
53から書き換え規則の知識を読み出し、これを適用す
ることにより、図形オブジェクト項4をソースプログラ
ム6に変換する。上述のような図形オブジェクト項の場
合、以下のようなソースプログラム6が生成される。
With this, the term format that can be processed by the term rewriting software generation device 5 is obtained, and when the user activates the rewriting execution means 51 from the input device 1, the rewriting execution means 51 is rewritten by the rewriting control knowledge. According to the rewriting control knowledge in the base 54, the knowledge of the rewriting rule is read from the rewriting rule knowledge base 53, and by applying this, the graphic object term 4 is converted into the source program 6. In the case of the graphic object term as described above, the following source program 6 is generated.

【0039】 [0039]

【0040】このように本実施例のプログラム自動作成
装置によれば、項書き換えソフトウェア生成装置5に対
して与える項を図形入力によって生成することが可能と
なり、設計時に全体を視覚的に捉えることが可能とな
る。
As described above, according to the automatic program creation apparatus of the present embodiment, it is possible to generate the term given to the term rewriting software generation apparatus 5 by the graphic input, and it is possible to visually grasp the whole at the time of designing. It will be possible.

【0041】また、図形オブジェクトファイル36と図
形オブジェクトファイルアクセス手段32とを備えてい
るので、作成途中や作成済の図形オブジェクト内部表現
を保存しておいて後に再利用することができる。
Further, since the graphic object file 36 and the graphic object file access means 32 are provided, it is possible to save the internal representation of the graphic object which is being created or has been created and reuse it later.

【0042】更に、図形オブジェクト項形式編集手段3
5によって図形オブジェクト項形式知識ベース37の内
容を変更すれば、ペトリネット用等の他の図形入力に適
合した項生成装置とすることができるので、種々のプロ
グラム自動作成装置に対し汎用的に使用することができ
る。
Further, the graphic object term format editing means 3
By changing the contents of the graphic object term format knowledge base 37 according to 5, it is possible to use as a term generation device suitable for other graphic inputs such as for Petri nets. can do.

【0043】[0043]

【発明の効果】以上説明したように、本発明の図形入力
による項生成装置によれば、項書き換えソフトウェア生
成装置で処理すべき項を、図形入力によって生成するこ
とができるので、設計時にプログラムの仕様全体を視覚
的に捉えることが容易になる。また、ソフトウェアモデ
ルには図形記号で取り扱われるものが多いが、本発明の
図形入力による項生成装置を使用すれば、そのような図
形記号を使用して作成したソフトウェアモデルをそのま
ま利用して項書き換えソフトウェア生成装置に与えるべ
き項を作成することができるようになる。
As described above, according to the term input device by graphic input of the present invention, the term to be processed by the term rewriting software generation device can be generated by the graphic input, so that the program can be programmed at design time. It becomes easy to capture the entire specification visually. Many software models are handled by graphic symbols, but if the term generation device by graphic input of the present invention is used, the term can be rewritten by directly using the software model created using such graphic symbols. It becomes possible to create terms to be given to the software generator.

【0044】また、図形オブジェクトファイルおよび図
形オブジェクトファイルアクセス手段を備えているの
で、作成途中や作成済の図形オブジェクト内部表現を保
存しておいて後に再利用することができ、更に、図形オ
ブジェクト項形式編集手段によって図形オブジェクト項
形式知識ベースの内容を変更すれば、扱える図形記号の
変更等が行え、種々のプログラム自動作成装置に対し汎
用的に使用することができる。
Further, since the graphic object file and the graphic object file access means are provided, it is possible to save the internal representation of the graphic object which is being created or has been created and reuse it later. If the contents of the graphic object term format knowledge base are changed by the editing means, the graphic symbols that can be handled can be changed, and can be used universally for various program automatic creation devices.

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

【図1】本発明を適用したプログラム自動作成装置の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a program automatic creation device to which the present invention is applied.

【図2】本発明の実施例で使用する図形記号の一例を示
す図である。
FIG. 2 is a diagram showing an example of a graphic symbol used in the embodiment of the present invention.

【図3】本発明の実施例で作成したプログラム仕様を表
現した状態遷移図である。
FIG. 3 is a state transition diagram expressing the program specifications created in the embodiment of the present invention.

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

1…入力装置 2…出力装置 3…項生成装置 31…図形オブジェクト編集手段 32…図形オブジェクトファイルアクセス手段 33…図形オブジェクト表示手段 34…図形オブジェクト項生成手段 35…図形オブジェクト項形式編集手段 36…図形オブジェクトファイル 37…図形オブジェクト項形式知識ベース 38…図形オブジェクト内部表現 39…一時記憶手段 4…図形オブジェクト項 5…項書き換えソフトウェア生成装置 51…書き換え実行手段 52…書き換え規則編集手段 53…書き換え規則知識ベース 54…書き換え制御知識ベース 6…ソースプログラム DESCRIPTION OF SYMBOLS 1 ... Input device 2 ... Output device 3 ... Term generation device 31 ... Graphic object editing means 32 ... Graphic object file access means 33 ... Graphic object display means 34 ... Graphic object term generation means 35 ... Graphic object term format editing means 36 ... Graphic Object file 37 ... Graphic object term format knowledge base 38 ... Graphic object internal representation 39 ... Temporary storage means 4 ... Graphic object term 5 ... Term rewriting software generation device 51 ... Rewriting execution means 52 ... Rewriting rule editing means 53 ... Rewriting rule knowledge base 54 ... Rewriting control knowledge base 6 ... Source program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力装置と、 出力装置と、 前記入力装置から入力された情報に従って一時記憶手段
上で図形オブジェクト内部表現の編集を行う図形オブジ
ェクト編集手段と、 前記一時記憶手段上の図形オブジェクト内部表現に対応
する図形を前記出力装置に表示する図形オブジェクト表
示手段と、 図形オブジェクト内部表現から項を生成するのに必要な
知識を格納した図形オブジェクト項形式知識ベースと、 編集の終了した前記一時記憶手段上の図形オブジェクト
内部表現を、前記図形オブジェクト項形式知識ベースの
知識を利用して、項書き換えソフトウェア生成装置に入
力する項の形式に変換する図形オブジェクト項生成手段
とを具備したことを特徴とする図形入力による項生成装
置。
1. An input device, an output device, a graphic object editing means for editing an internal representation of a graphic object on a temporary storage means in accordance with information input from the input device, and an internal graphic object on the temporary storage means. Graphic object display means for displaying a graphic corresponding to the expression on the output device, a graphic object term format knowledge base storing knowledge necessary for generating terms from the graphic object internal representation, and the temporary storage after editing. And a graphic object term generation means for converting the internal representation of the graphic object on the means into the format of the term to be inputted to the term rewriting software generation device by utilizing the knowledge of the graphic object term format knowledge base. Term generation device by graphic input.
【請求項2】 図形オブジェクトファイルと、 該図形オブジェクトファイルと前記一時記憶手段との間
で図形オブジェクト内部表現の入出力を行う図形オブジ
ェクトファイルアクセス手段と、 前記入力装置から入力された情報に従って前記図形オブ
ジェクト項形式知識ベースの編集を行う図形オブジェク
ト項形式編集手段とを備える請求項1記載の図形入力に
よる項生成装置。
2. A graphic object file, graphic object file access means for inputting and outputting an internal representation of a graphic object between the graphic object file and the temporary storage means, and the graphic according to information input from the input device. The term generation device by graphic input according to claim 1, further comprising graphic object term format editing means for editing the object term format knowledge base.
JP30772592A 1992-10-21 1992-10-21 Term generator by graphic input Pending JPH06131166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30772592A JPH06131166A (en) 1992-10-21 1992-10-21 Term generator by graphic input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30772592A JPH06131166A (en) 1992-10-21 1992-10-21 Term generator by graphic input

Publications (1)

Publication Number Publication Date
JPH06131166A true JPH06131166A (en) 1994-05-13

Family

ID=17972505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30772592A Pending JPH06131166A (en) 1992-10-21 1992-10-21 Term generator by graphic input

Country Status (1)

Country Link
JP (1) JPH06131166A (en)

Similar Documents

Publication Publication Date Title
JP3441309B2 (en) How to display functional objects in graphical programming
JP2007536647A5 (en)
JPH0855019A (en) Visual programming method
JPH06131166A (en) Term generator by graphic input
JP2608085B2 (en) Production planning simulation device
JP2720768B2 (en) Program customization equipment
JP2002066967A (en) Structuring method of robot motion descriptive language, and indicating method and editing method of structured robot motion descriptive language
JPH0520046A (en) Method and device for program development assistance
JP3298456B2 (en) Visual simulation support method and apparatus
JP2754533B2 (en) Flow chart creation device
JPH07191716A (en) Controller
Chedgey Papillon-a support environment for graphical software development
JP2001306754A (en) Method and device for supporting preparation of patent specification and storage medium with detailed patent statement preparation support program recorded thereon
JPH06266545A (en) Gui parts library development support device
JP2845779B2 (en) Circuit drawing creation system
JP3224386B2 (en) Program creation device
JPH0477956A (en) Term explanation generation system
JP3160926B2 (en) Document creation device
JPH0644057A (en) Automatic programming device
JPH11184685A (en) Control program developing device
JP2002140653A (en) Method and device for preparing simulation data and recording medium
JPH03252760A (en) Document editing method and document editing device
JPH0816809A (en) Drawing system
JPS61249172A (en) Cad system
JPH08272573A (en) Information processor