JPH06314193A - Compilation method for structure drawing symbol notation list - Google Patents

Compilation method for structure drawing symbol notation list

Info

Publication number
JPH06314193A
JPH06314193A JP5102459A JP10245993A JPH06314193A JP H06314193 A JPH06314193 A JP H06314193A JP 5102459 A JP5102459 A JP 5102459A JP 10245993 A JP10245993 A JP 10245993A JP H06314193 A JPH06314193 A JP H06314193A
Authority
JP
Japan
Prior art keywords
list
source program
error
source
created
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
JP5102459A
Other languages
Japanese (ja)
Inventor
Masayoshi Inaba
昌義 稲葉
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 JP5102459A priority Critical patent/JPH06314193A/en
Publication of JPH06314193A publication Critical patent/JPH06314193A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To provide a method capable of extremely facilitating the debugging operation of a specification list and more efficiently developing a program relating to the method for generating a source front the list of logic diagram description and compiling the source. CONSTITUTION:The list of a source program is generated from the specification list in which contents are described by using the logic diagram (step 100), a source list generated from the specification list is compiled (step 102) and when a compilation error occurs, an error list for which the corresponding parts of the specification list to the source list are respectively arranged oppositely on right and left is prepared (step 104).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理図記述のリストか
らソースを生成してそのソースをコンパイルする方法に
関する。
FIELD OF THE INVENTION The present invention relates to a method of generating a source from a list of logical diagram descriptions and compiling the source.

【0002】この種の方法によれば、コンパイラ言語に
比して理解や記述が極めて容易なリストから最終的なオ
ブジェクト(実行形式のプログラムやライブラリファイ
ル)が自動的に生成されるので、プログラムの開発効率
を大幅に高めることが可能となる。
According to this type of method, a final object (executable program or library file) is automatically generated from a list that is extremely easy to understand and describe as compared with a compiler language. It is possible to greatly improve the development efficiency.

【0003】[0003]

【従来の技術】最初にユーザがエディタを起動して構造
図記号表記(論理図表記)のプログラムを作成し、その
プログラムを仕様書リストとしてファイルへ出力する。
2. Description of the Related Art First, a user activates an editor to create a program in structural diagram symbol notation (logical diagram notation) and outputs the program as a specification list to a file.

【0004】図10では仕様書リストの論理図表記が説
明されており、同図の仕様書リストには制御構造を表す
記号,抽象表現,インクルード表現が含まれる。なお、
各行の先頭には行番号が付される。
FIG. 10 explains the logical diagram notation of the specification list, and the specification list in the figure includes symbols, abstract expressions, and include expressions representing control structures. In addition,
A line number is added to the beginning of each line.

【0005】ユーザがファイルへ出力した仕様書リスト
はプログラムジェネレータへ引き渡され、プログラムジ
ェネレータは引き渡された仕様書リストからソースプロ
グラムを自動的に生成する。
The specification list output to the file by the user is delivered to the program generator, and the program generator automatically generates a source program from the delivered specification list.

【0006】そしてプログラムジェネレータはコンパイ
ラを自動的に起動してソースプログラムを引渡し、ソー
スプログラムは引き渡されたソースプログラムをコンパ
イルして最終的なオブジェクトプログラムを作成する。
Then, the program generator automatically activates the compiler to deliver the source program, and the source program compiles the delivered source program to create a final object program.

【0007】ここでコンパイルエラーが発生した場合、
ユーザはコンパイラのエラー出力を参照してエラー発生
箇所を確定し、そのコンパイルエラーが発生した原因を
考察する。
If a compile error occurs here,
The user refers to the error output of the compiler to determine the location of the error and considers the cause of the compilation error.

【0008】さらにユーザは仕様書リストを参照してコ
ンパイルエラー発生の原因となった箇所を目視で検索
し、検索した箇所をエディタ上で修正し、修正した仕様
書リストをプログラムジェネレータへ再び引き渡す。
Further, the user refers to the specification list to visually search the location causing the compile error, corrects the searched location on the editor, and delivers the corrected specification list to the program generator again.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、コンパ
イラの言語に習熟していないユーザが図11のように誤
った記述の存在する仕様書リストを作成し(行番号40
00の記述単位に宣言されたサイズ以上の数値が行番号
7000の記述単位で変数Aへ代入されている)、図1
2のソースプログラム(COBOL言語のプログラム)
をプログラムジェネレータが生成してコンパイラがエラ
ー出力で図12における行番号007000の箇所を指
摘したときには、コンパイルエラーを招いた箇所を仕様
書リストから特定するまでに時間,労力が費やされる。
However, a user who is not familiar with the language of the compiler creates a specification list having an erroneous description as shown in FIG. 11 (line number 40).
A numerical value larger than the size declared in the description unit of 00 is assigned to the variable A in the description unit of line number 7000), FIG.
2 source program (program in COBOL language)
When the program generator generates and the compiler points out the position of line number 007000 in FIG. 12 in the error output, it takes time and labor to identify the position causing the compilation error from the specification list.

【0010】またコンパイラの言語に習熟したユーザで
あっても、図13の仕様書と図14のインクルード仕様
書(行番号5000の記述単位でMOVEをMIVEと
タイプミスしている)のリストを作成し、コンパイラが
図15のエラー(行番号007800の記述単位)を指
摘した場合においては、その指摘箇所より図13のイン
クルード表現(行番号1000の記述単位)を介し図1
4のタイプミス部分を捜し出すまでに時間,労力が費や
される。
Even a user who is familiar with the language of the compiler creates a list of the specifications shown in FIG. 13 and the include specifications shown in FIG. 14 (MOVE is mistyped as MIVE in the description unit of line number 5000). However, when the compiler points out the error in FIG. 15 (description unit at line number 00780), from the point of indication, the expression shown in FIG.
It takes time and effort to find the typo in item 4.

【0011】特にインクルードファイルの数が多くなっ
たりその入れ子構造が複雑なものとなったときには、コ
ンパイルエラー発生の原因となった箇所を目視で検索す
ることが極めて困難となる。
In particular, when the number of include files becomes large or the nesting structure becomes complicated, it is extremely difficult to visually search for the location causing the compile error.

【0012】本発明は上記従来の事情に鑑みてなされた
ものであり、その目的は、仕様書リストのデバッグ作業
が著しく容易なものとなる方法を提供することにある。
The present invention has been made in view of the above conventional circumstances, and an object of the present invention is to provide a method for significantly facilitating debugging of a specification list.

【0013】[0013]

【課題を解決するための手段】図1において第1発明
は、論理図を用いて内容が記述された仕様書リストから
ソースプログラムのリストを生成し(ステップ10
0)、仕様書リストから生成されたソースプログラムの
リストをコンパイルし(ステップ102)、コンパイル
エラーが発生したときに、仕様書リストとソースプログ
ラムリストの対応部分が左右の一方と他方とに各々配置
されたエラーリストを作成する(ステップ104)、こ
とを特徴としている。
In the first invention shown in FIG. 1, a list of source programs is generated from a specification list whose contents are described using a logic diagram (step 10).
0), the list of source programs generated from the specification list is compiled (step 102), and when a compilation error occurs, the corresponding parts of the specification list and the source program list are arranged on one side and the other on the left and right respectively. The generated error list is created (step 104).

【0014】また第2発明は、論理図を用いて内容が記
述された仕様書リストからソースプログラムのリストを
生成し(ステップ100)、仕様書リストから生成され
たソースプログラムのリストをコンパイルし(ステップ
102)、コンパイルエラーが発生したときに、仕様書
リストとソースプログラムリストの対応部分が左右の一
方と他方とに各々配置されたエラーリストを作成し(ス
テップ104)、仕様書リストを作成したユーザに対し
てエラーリストを出力する(ステップ106)、ことを
特徴としている。
In the second invention, a list of source programs is generated from a specification list whose contents are described by using a logic diagram (step 100), and the list of source programs generated from the specification list is compiled ( Step 102), when a compile error occurs, create an error list in which the corresponding parts of the specification list and the source program list are arranged on the left and right sides and on the other side (step 104), and create the specification list. The feature is that an error list is output to the user (step 106).

【0015】さらに第3発明は、論理図を用いて内容が
記述された仕様書リストからソースプログラムのリスト
を生成しながら仕様書リストとソースプログラムリスト
の記述単位が対応付けられた文情報を作成し(ステップ
100)、仕様書リストから生成されたソースプログラ
ムのリストをコンパイルし(ステップ102)、コンパ
イルエラーが発生したときに仕様書リストとソースプロ
グラムリストと文情報とを参照し、仕様書リストとソー
スプログラムリストの対応した記述単位が左右の一方と
他方とに各々配置されたエラーリストを作成し(ステッ
プ104)、仕様書リストを作成したユーザに対してエ
ラーリストを出力する(ステップ106)、ことを特徴
としている。
Further, in the third invention, while generating a list of source programs from a specification list in which contents are described by using a logic diagram, statement information in which description units of the specification list and the source program list are associated is created. (Step 100), the list of source programs generated from the specification list is compiled (step 102), the specification list, the source program list, and the statement information are referenced when a compilation error occurs, and the specification list is displayed. An error list in which the corresponding description units of the source program list and the source program list are respectively arranged on the left and right sides (step 104), and the error list is output to the user who created the specification list (step 106). , Is characterized.

【0016】そして第4発明は、論理図を用いて内容が
記述された仕様書リストからソースプログラムのリスト
を生成しながら仕様書リストとソースプログラムリスト
の記述単位が対応付けられる文情報を作成し(ステップ
100)、仕様書リストから生成されたソースプログラ
ムのリストをコンパイルし(ステップ102)、コンパ
イルエラーが発生したときに仕様書リストとソースプロ
グラムリストと文情報とを参照して仕様書リストの各記
述単位とソースプログラムリストの各記述単位との対応
関係を文情報の内容からチェックし、対応した仕様書リ
ストの記述単位が存在しないソースプログラムリストの
記述単位は該当行における左右の他方に単独配置され、
対応したソースプログラムリストの記述単位が存在しな
い仕様書リストの記述単位は該当行における左右の一方
に単独配置され、対応して存在する仕様書リストとソー
スプログラムリストの記述単位は該当行における左右の
一方と他方とに各々配置された内容のエラーリストを作
成し(ステップ104)、仕様書リストを作成したユー
ザに対してエラーリストを出力する(ステップ10
6)、ことを特徴としている。
According to a fourth aspect of the invention, while generating a list of source programs from a specification list whose contents are described using a logic diagram, statement information in which the description units of the specification list and the source program list are associated is created. (Step 100), the list of source programs generated from the specification list is compiled (Step 102), and when a compilation error occurs, the specification list, the source program list, and the statement information are referenced to create the specification list. The correspondence between each description unit and each description unit of the source program list is checked from the contents of the sentence information, and the description unit of the corresponding specification list does not exist. Placed,
The description unit of the specification list for which the corresponding description unit of the source program list does not exist is placed separately on the left or right of the corresponding line, and the description unit of the corresponding specification list and source program list An error list having contents respectively arranged on one side and the other is created (step 104), and the error list is output to the user who created the specification list (step 10).
6), is characterized.

【0017】[0017]

【作用】第1発明では、仕様書リストとソースプログラ
ムリストの対応した各記述単位を左右に振り分けたエラ
ーリストが作成され、また第2発明では、作成されたエ
ラーリストがユーザに対して自動出力される。
According to the first aspect of the invention, an error list is created in which the corresponding description units of the specification list and the source program list are distributed to the left and right. In the second aspect, the created error list is automatically output to the user. To be done.

【0018】さらに第3発明では、仕様書リストとソー
スプログラムリストの記述単位が対応付けられた文情報
がソースプログラムの生成時に作成され、コンパイルエ
ラーの発生時にはこの文情報を参照してエラーリストが
出力される。
Further, in the third invention, statement information in which the description units of the specification list and the source program list are associated with each other is created at the time of generation of the source program, and when a compilation error occurs, the statement information is referred to and the error list is created. Is output.

【0019】そして第4発明では、仕様書リストとソー
スプログラムリストの各記述単位につき、相手側リスト
に対応したものが存在しているか否かのチェックが行な
われ、存在していない場合には、存在しているもののみ
が単独でエラーリストの該当行へ出力される。
In the fourth aspect of the invention, it is checked whether or not each description unit of the specification list and the source program list exists in the counterpart list, and if there is no such description unit, it is determined that there is no such unit. Only the existing ones are output alone to the corresponding line in the error list.

【0020】[0020]

【実施例】図2において、ホストコンピュータ200と
ターミナルコンピュータ202とがネットワーク204
で結ばれており、ホストコンピュータ200の主記憶メ
モリ206にはソースジェネレータ208,コンパイラ
210(COBOL),エラーリストエディタ212
が、ターミナルコンピュータ202の主記憶メモリ21
4には仕様書エディタ216がロードされる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 2, a host computer 200 and a terminal computer 202 are connected to a network 204.
The source memory 208 of the host computer 200 is connected to the source generator 208, the compiler 210 (COBOL), and the error list editor 212.
Is the main memory 21 of the terminal computer 202.
A specification editor 216 is loaded in 4.

【0021】ユーザはターミナルコンピュータ218に
接続されたディスプレイ218の表示を確認しながらキ
ーボード220,マウス222を操作して仕様書リスト
のファイル224を作成する(図3_ステップ30
0)。
The user operates the keyboard 220 and the mouse 222 while confirming the display on the display 218 connected to the terminal computer 218 to create the specification list file 224 (FIG. 3_step 30).
0).

【0022】ユーザが作成した仕様書リストのファイル
224はターミナルコンピュータ202からホストコン
ピュータ200へネットワーク204を介して転送さ
れ、ホストコンピュータ200は転送された仕様書リス
トのファイル224をファイル226へ格納し、このフ
ァイル226をソースジェネレータ208へ引き渡す
(図3_ステップ302)。
The specification list file 224 created by the user is transferred from the terminal computer 202 to the host computer 200 via the network 204, and the host computer 200 stores the transferred specification list file 224 in the file 226. This file 226 is handed over to the source generator 208 (FIG. 3_step 302).

【0023】ソースジェネレータ208は引き渡された
ファイル226からソースプログラムのファイル228
を生成し、その際に文情報テーブルのファイル230も
作成する(図3_ステップ304)。
The source generator 208 receives the source program file 228 from the delivered file 226.
Is generated, and the file 230 of the sentence information table is also created at that time (FIG. 3_step 304).

【0024】ソースプログラムの作成に成功すると(図
3_ステップ306でYES)、ソースプログラムのフ
ァイル228がコンパイラ210に引き渡され(図3_
ステップ308)、ソースプログラムのコンパイルが成
功したとき(図3_ステップ310でYES)には、最
終的なオブジェクトプログラム(実行形式のプログラム
など)がファイル232へ出力されてから、処理の正常
終了がホストコンピュータ200からネットワーク20
4を介してターミナルコンピュータ202へ通知され
る。
If the source program is created successfully (YES in step 306 in FIG. 3), the source program file 228 is delivered to the compiler 210 (FIG. 3_).
If the source program is successfully compiled (step 308) (YES in step 310 in FIG. 3), the normal end of the process is performed after the final object program (executable program or the like) is output to the file 232. Computer 200 to network 20
4 is notified to the terminal computer 202.

【0025】またソースプログラムの作成に失敗すると
(図3_ステップ306でNO:多くの場合は構文のエ
ラー)、エラーリストエディタ212はエラーリストを
出力し(図3_ステップ312)、ホストコンピュータ
200がネットワーク204を介しターミナルコンピュ
ータ202へ転送する(図3_ステップ314)。
If the source program fails to be created (NO in step 306 in FIG. 3_, syntax error in many cases), the error list editor 212 outputs an error list (step_312 in FIG. 3), and the host computer 200 operates the network. Transfer to the terminal computer 202 via 204 (FIG. 3_step 314).

【0026】仕様書エディタ216は転送されたエラー
リストをディスプレイ218に表示し(図3_ステップ
316)、ユーザはこの表示内容からエラー部分を確認
し、そのエラー部分を修正し(図3_ステップ31
8)、再びターミナルコンピュータ202に仕様書リス
トのファイルをホストコンピュータ200へ転送させる
(図3_ステップ302)。
The specification editor 216 displays the transferred error list on the display 218 (FIG. 3_step 316), and the user confirms the error part from the displayed contents and corrects the error part (FIG. 3_step 31).
8) Then, the terminal computer 202 is made to transfer the specification list file to the host computer 200 again (step 302 in FIG. 3).

【0027】ここで、コンパイラ210がソースプログ
ラムのコンパイルに失敗すると(図3_ステップ306
でNO)、エラーリストエディタ212がファイル22
6,228,230をオープンし(図3_ステップ32
0)、エラーリストを作成し(図3_ステップ32
2)、そのエラーリストをホストコンピュータ200が
ネットワーク204を介してターミナルコンピュータ2
02へ転送する(図3_ステップ314)。
If the compiler 210 fails to compile the source program (step 306 in FIG. 3).
NO), the error list editor 212 displays the file 22
Open 6, 228 and 230 (Fig. 3_Step 32
0) and create an error list (Fig. 3_step 32).
2) The host computer 200 sends the error list to the terminal computer 2 via the network 204.
02 (step 314 in FIG. 3).

【0028】上記と同様に、転送されたエラーリストは
ディスプレイ218に表示され(図3_ステップ31
6)、修正(図3_ステップ318)が行なわれてか
ら、ターミナルコンピュータ202に再び転送される
(図3_ステップ302)。
Similar to the above, the transferred error list is displayed on the display 218 (FIG. 3_step 31).
6), correction (FIG. 3_step 318) is performed, and then transferred again to the terminal computer 202 (FIG. 3_step 302).

【0029】図4(A),(B),(C)ではファイル
226,228,230の内容が各々説明されており、
同図から理解されるように、文情報テーブルのファイル
230は仕様書リストとソースプログラムリストの記述
単位が対応付けられる内容となっている(仕様書リスト
とソースプログラム上で対応の記述単位を各々特定する
行番号とソースプログラムの行数とを内容としている・
・・ソースプログラムの行番号は記述単位の先頭行を示
す)。
The contents of the files 226, 228, and 230 are described in FIGS. 4A, 4B, and 4C, respectively.
As can be understood from the drawing, the file 230 of the sentence information table has a content in which the description units of the specification list and the source program list are associated with each other. Contains the specified line number and the number of lines in the source program.
..The line number of the source program indicates the first line of the description unit).

【0030】図5ではコンパイルエラー時におけるエラ
ーリストの作成手順(図3_ステップ322のルーチ
ン)が説明されており、仕様書リスト,ソースプログラ
ムのファイル228,230からそれらの各記述単位が
ファイル後尾へ向かって順に読み出される(図5_ステ
ップ500,502,504,506)。
FIG. 5 illustrates the procedure for creating an error list (routine of step 322 in FIG. 3_) at the time of a compilation error. The specification list and source program files 228 and 230 are used to transfer the respective description units to the file tail. Are read in order (FIG. 5_steps 500, 502, 504, 506).

【0031】そして、ファイル228,230からそれ
らの各記述単位が読み出される毎に、これらに対応した
情報がファイル230から読み出される(図5_ステッ
プ508)る。
Then, every time each description unit is read from the files 228 and 230, the information corresponding to them is read from the file 230 (FIG. 5_step 508).

【0032】さらに、ファイル230より読み出された
情報が仕様書リストとソースプログラム上の記述単位を
各々特定する行番号の双方を含んでいたとき(図5_ス
テップ510,512でYES)には、これらの記述単
位を左右に振り分けた内容の行データが作成され(図5
_ステップ514)、ターミナルコンピュータ202へ
転送される(図5_ステップ516)。
Furthermore, when the information read from the file 230 includes both the specification list and the line number for specifying the description unit on the source program (YES in steps 510 and 512 in FIG. 5), Line data is created by dividing these description units into left and right (Fig. 5).
_Step 514) and transferred to the terminal computer 202 (FIG. 5_step 516).

【0033】その結果、図6(宣言されたサイズ以上の
数値が変数Aへ代入されている)や図7(MOVEをM
IVEとタイプミスした場合:インクルード内容も展開
されている)で示される表示がディスプレイ218にお
いて行なわれる。
As a result, FIG. 6 (numerical value larger than the declared size is assigned to the variable A) and FIG. 7 (MOVE is M
Typing IVE: Include contents are also expanded) is displayed on the display 218.

【0034】また、ファイル230より読み出された情
報に仕様書リストの記述単位を特定する行番号が含まれ
ておらず、ソースプログラムの記述単位を特定する行番
号のみが含まれていたとき(図5_ステップ510でN
O)には、ソースプログラムリストの記述単位がエラー
リストの出力行における右側に単独配置され(図5_ス
テップ518:図8参照)、次の記述単位がファイル2
28から読み込まれる(図5_ステップ519)。
When the information read from the file 230 does not include the line number that specifies the description unit of the specification list, but only the line number that specifies the description unit of the source program ( 5_N at step 510
In (O), the description unit of the source program list is independently arranged on the right side of the output line of the error list (FIG. 5_step 518: see FIG. 8), and the next description unit is the file 2
28 (FIG. 5_step 519).

【0035】これに対し、ソースプログラムリストの記
述単位を特定する行番号が含まれておらず、仕様書リス
トの記述単位を特定する行番号のみが含まれていたとき
(図5_ステップ512でNO)には、仕様書リストの
記述単位がエラーリストの出力行における左側に単独配
置され(図5_ステップ520:図9参照)、次の記述
単位がファイル226から読み込まれる(図5_ステッ
プ521)。
On the other hand, when the line number specifying the description unit of the source program list is not included but only the line number specifying the description unit of the specification list is included (NO in step 512 in FIG. 5). ), The description unit of the specification list is placed alone on the left side of the output line of the error list (FIG. 5_step 520: see FIG. 9), and the next description unit is read from the file 226 (FIG. 5_step 521).

【0036】以上のように、仕様書リストとソースプロ
グラムリストの対応した各記述単位を左右に振り分けた
エラーリストが作成され、このエラーリストがユーザに
対して自動出力され、しかも、相手側リストに対応した
記述単位が存在していない場合には存在しているものの
みが単独でエラーリストの該当行へ出力される。
As described above, an error list in which each description unit corresponding to the specification list and the source program list is distributed to the left and right is created, and this error list is automatically output to the user, and further, it is displayed in the partner list. If the corresponding description unit does not exist, only the existing description unit is output alone to the relevant line of the error list.

【0037】このため本実施例によれば、仕様書リスト
のデバッグ作業が著しく容易なものとなり、コンパイラ
の言語に習熟していないユーザであっても、また、イン
クルードファイルの数が多くなったりその入れ子構造が
複雑な仕様書リストの場合であっても、目的のプログラ
ムを効率良く開発することが可能となる。
Therefore, according to the present embodiment, the debugging of the specification list becomes extremely easy, and even if the user is not familiar with the language of the compiler, the number of include files may increase or the number of include files may increase. Even if the specification list has a complicated nesting structure, the target program can be efficiently developed.

【0038】[0038]

【発明の効果】以上説明したように本発明によれば、仕
様書リストとソースプログラムリストの対応した各記述
単位を左右に振り分けたエラーリストが自動的に作成さ
れるので、仕様書リストのデバッグ作業が著しく容易な
ものとなり、したがって、プログラムの開発をより効率
良く行なうことが可能となる。
As described above, according to the present invention, since the error list in which each description unit corresponding to the specification list and the source program list is divided into the right and left is automatically created, the specification list is debugged. The work is remarkably easy, and therefore the program can be developed more efficiently.

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

【図1】発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the invention.

【図2】実施例の構成説明図である。FIG. 2 is an explanatory diagram of a configuration of an embodiment.

【図3】実施例の概略的な処理手順を説明するフローチ
ャートである。
FIG. 3 is a flowchart illustrating a schematic processing procedure of an embodiment.

【図4】文情報テーブルファイルの内容説明図である。FIG. 4 is an explanatory diagram of contents of a sentence information table file.

【図5】エラーファイル作成の処理手順を説明するフロ
ーチャートである。
FIG. 5 is a flowchart illustrating a processing procedure for creating an error file.

【図6】実施例のエラー表示説明図である。FIG. 6 is an explanatory diagram of an error display according to the embodiment.

【図7】実施例のエラー表示説明図である。FIG. 7 is an explanatory diagram of an error display according to the embodiment.

【図8】ソース単独表示行の作成作用説明図である。FIG. 8 is an explanatory diagram of a source single display line creation operation.

【図9】仕様書単独表示行の作成作用説明図である。FIG. 9 is an explanatory diagram of a creation operation of a specification single display line.

【図10】論理図表記の説明図である。FIG. 10 is an explanatory diagram of a logical diagram notation.

【図11】仕様書ファイルの説明図である。FIG. 11 is an explanatory diagram of a specification file.

【図12】ソースファイルの説明図である。FIG. 12 is an explanatory diagram of a source file.

【図13】仕様書ファイルの説明図である。FIG. 13 is an explanatory diagram of a specification file.

【図14】インクルード仕様書の説明図である。FIG. 14 is an explanatory diagram of an include specification.

【図15】ソースファイルの説明図である。FIG. 15 is an explanatory diagram of a source file.

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

200 ホストコンピュータ 202 ターミナルコンピュータ 204 ネットワーク 206 主記憶メモリ 208 ソースファイル 210 コンパイラ 212 エラーリストエディタ 214 主記憶メモリ 216 仕様書エディタ 218 ディスプレイ 220 キーボード 222 マウス 224 仕様書ファイル 226 仕様書ファイル 228 ソースファイル 230 文情報ファイル 232 実行プログラムなどのファイル 200 host computer 202 terminal computer 204 network 206 main memory 208 source file 210 compiler 212 error list editor 214 main memory 216 specification editor 218 display 220 keyboard 222 mouse 224 specification file 226 specification file 228 source file 230 statement information file Files such as 232 executable programs

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 論理図を用いて内容が記述された仕様書
リストからソースプログラムのリストを生成し(ステッ
プ100)、 仕様書リストから生成されたソースプログラムのリスト
をコンパイルし(ステップ102)、 コンパイルエラーが発生したときに、仕様書リストとソ
ースプログラムリストの対応部分が左右の一方と他方と
に各々配置されたエラーリストを作成する(ステップ1
04)、 ことを特徴とした構造図記号表記リストのコンパイル方
法。
1. A source program list is generated from a specification list whose contents are described using a logic diagram (step 100), and a source program list generated from the specification list is compiled (step 102). When a compile error occurs, an error list is created in which the corresponding parts of the specification list and the source program list are arranged on the left and right sides and the other side (step 1).
04), A method for compiling a structural diagram symbolic notation list characterized by the following.
【請求項2】 論理図を用いて内容が記述された仕様書
リストからソースプログラムのリストを生成し(ステッ
プ100)、 仕様書リストから生成されたソースプログラムのリスト
をコンパイルし(ステップ102)、 コンパイルエラーが発生したときに、仕様書リストとソ
ースプログラムリストの対応部分が左右の一方と他方と
に各々配置されたエラーリストを作成し(ステップ10
4)、 仕様書リストを作成したユーザに対してエラーリストを
出力する(ステップ106)、 ことを特徴とした構造図記号表記リストのコンパイル方
法。
2. A source program list is generated from a specification list whose contents are described using a logic diagram (step 100), and a list of source programs generated from the specification list is compiled (step 102). When a compile error occurs, an error list is created in which the corresponding parts of the specification list and the source program list are arranged on the left and right sides and the other side (step 10).
4), an error list is output to the user who created the specification list (step 106), and a method of compiling the structural diagram symbolic notation list.
【請求項3】 論理図を用いて内容が記述された仕様書
リストからソースプログラムのリストを生成しながら仕
様書リストとソースプログラムリストの記述単位が対応
付けられた文情報を作成し(ステップ100)、 仕様書リストから生成されたソースプログラムのリスト
をコンパイルし(ステップ102)、 コンパイルエラーが発生したときに仕様書リストとソー
スプログラムリストと文情報とを参照し、仕様書リスト
とソースプログラムリストの対応した記述単位が左右の
一方と他方とに各々配置されたエラーリストを作成し
(ステップ104)、 仕様書リストを作成したユーザに対してエラーリストを
出力する(ステップ106)、 ことを特徴とした構造図記号表記リストのコンパイル方
法。
3. A statement information in which the description unit of the specification list and the description unit of the source program list are associated with each other while creating a list of the source program from the specification list whose contents are described by using a logic diagram (step 100). ), Compiles the list of source programs generated from the specification list (step 102), refers to the specification list, the source program list, and the statement information when a compilation error occurs, and references the specification list and the source program list. An error list in which the corresponding description units of are arranged on the left and right sides and the other side are created (step 104), and the error list is output to the user who created the specification list (step 106). How to compile the structural diagram symbolic notation list.
【請求項4】 論理図を用いて内容が記述された仕様書
リストからソースプログラムのリストを生成しながら仕
様書リストとソースプログラムリストの記述単位が対応
付けられる文情報を作成し(ステップ100)、 仕様書リストから生成されたソースプログラムのリスト
をコンパイルし(ステップ102)、 コンパイルエラーが発生したときに仕様書リストとソー
スプログラムリストと文情報とを参照して仕様書リスト
の各記述単位とソースプログラムリストの各記述単位と
の対応関係を文情報の内容からチェックし、対応した仕
様書リストの記述単位が存在しないソースプログラムリ
ストの記述単位は該当行における左右の他方に単独配置
され、対応したソースプログラムリストの記述単位が存
在しない仕様書リストの記述単位は該当行における左右
の一方に単独配置され、対応して存在する仕様書リスト
とソースプログラムリストの記述単位は該当行における
左右の一方と他方とに各々配置された内容のエラーリス
トを作成し(ステップ104)、 仕様書リストを作成したユーザに対してエラーリストを
出力する(ステップ106)、 ことを特徴とした構造図記号表記リストのコンパイル方
法。
4. A sentence information in which the description unit of the specification list and the description unit of the source program list are associated with each other while creating a list of the source program from the specification list whose contents are described by using a logic diagram (step 100). Compile the list of source programs generated from the specification list (step 102), and refer to the specification list, the source program list, and the statement information when a compilation error occurs and refer to each description unit of the specification list. The correspondence with each description unit of the source program list is checked from the contents of the sentence information, and the description unit of the corresponding specification list does not exist. The description unit of the specified source program list does not exist. In the left and right sides of the specification list, which correspond to the description list and the source program list, the corresponding description units are arranged in the left and right sides of the corresponding line, and an error list is created (step 104). An error list is output to the user who created the specification list (step 106).
JP5102459A 1993-04-28 1993-04-28 Compilation method for structure drawing symbol notation list Pending JPH06314193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5102459A JPH06314193A (en) 1993-04-28 1993-04-28 Compilation method for structure drawing symbol notation list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5102459A JPH06314193A (en) 1993-04-28 1993-04-28 Compilation method for structure drawing symbol notation list

Publications (1)

Publication Number Publication Date
JPH06314193A true JPH06314193A (en) 1994-11-08

Family

ID=14328055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5102459A Pending JPH06314193A (en) 1993-04-28 1993-04-28 Compilation method for structure drawing symbol notation list

Country Status (1)

Country Link
JP (1) JPH06314193A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium

Similar Documents

Publication Publication Date Title
Reps et al. The Synthesizer Generator: A system for constructing language-based editors
US6367068B1 (en) Dynamic parsing
US6292938B1 (en) Retargeting optimized code by matching tree patterns in directed acyclic graphs
EP0528640A2 (en) Computer system for generating a user interface
JPH08202545A (en) Object-oriented system and method for generation of target language code
JPH08314728A (en) Method and apparatus for conversion of source program into object program
US20040225964A1 (en) Method and system for storing pending changes to data
JP5147240B2 (en) Method and system for reversible design tree transformation
JPH07141201A (en) Improved method for two-path compiler
Tai Syntactic error correction in programming languages
JPH06314193A (en) Compilation method for structure drawing symbol notation list
Barnard et al. Hierarchic syntax error repair for LR grammars
GB2420638A (en) Method of substituting code fragments in Internal Representation
Zhu Formal specifications of debuggers
JPH08194611A (en) Device for analyzing rang of influence caused by program correction
JPS5922140A (en) Interactive compiling system
JP2672968B2 (en) Source list output processing method for debugging
Cyre et al. Generating validation feedback for automatic interpretation of informal requirements
JPH1185536A (en) Device and method for automatically correcting error of source program
JP3034527B2 (en) Editor device
JP2827724B2 (en) Program debug processing method
JP2907124B2 (en) Automatic identification of code system during file transfer of source unit
JP2607975B2 (en) Debug method
JP3368795B2 (en) Compilation control method, compilation device, and recording medium
Collins et al. The Mystro System: a comprehensive translator toolkit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011002