JPH0689166A - Parts processing description expanding system - Google Patents

Parts processing description expanding system

Info

Publication number
JPH0689166A
JPH0689166A JP23947492A JP23947492A JPH0689166A JP H0689166 A JPH0689166 A JP H0689166A JP 23947492 A JP23947492 A JP 23947492A JP 23947492 A JP23947492 A JP 23947492A JP H0689166 A JPH0689166 A JP H0689166A
Authority
JP
Japan
Prior art keywords
processing
component
description
source program
expansion
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.)
Withdrawn
Application number
JP23947492A
Other languages
Japanese (ja)
Inventor
Katsuhisa Miyai
勝久 宮井
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe 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 KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP23947492A priority Critical patent/JPH0689166A/en
Publication of JPH0689166A publication Critical patent/JPH0689166A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the parts processing description expanding system which generates an efficient program, which is not redundant and is easy to maintain, even at the time of using the same parts plural times. CONSTITUTION:This system is provided with a source program request source 2 where a source program is stored, a parts expansion directive recognition and analysis processing 4, a source program input/output processing 3 which inputs parts processing description, a processing 9 which processes the inputted parts processing description into an auxiliary procedure form, an output processing 10 which outputs the parts processing description in the auxiliary procedure form to a temporary file, a conversion processing 12 which converts a parts expansion directive to rows of notes, an auxiliary procedure call instruction generation and output processing 13, an additional output processing 14 for auxiliary procedure form parts processing description of the temporary file which outputs the source program to a storage file after parts expansion, and an interpretation processing 16 which interprets the source program as the object after parts expansion and stores it in the storage file as an object program.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は部品処理記述展開方式に
関し、特に同一部品を複数回利用する場合に効率的で冗
長がなくかつ保守の行いやすいプログラムを作成する部
品処理記述展開方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component processing description developing system, and more particularly to a component processing description developing system for creating an efficient, non-redundant and easy-to-maintain program when the same component is used a plurality of times.

【0002】[0002]

【従来の技術】従来の部品処理記述展開方式は、図3の
ブロック図に示すように、プログラムに部品処理記述を
展開する場合、ソースプログラム中にあるすべての部品
展開指示文の認識及び解析処理34を行い、展開指示文
解析結果35に基づき部品処理記述入力38の直後に、
あらかじめ登録してある部品定義処理記述を部品格納フ
ァイル37から部品処理記述入力38及び部品処理記述
出力処理39を介して部品展開後ソースプログラム40
に展開していた。
2. Description of the Related Art In the conventional component processing description developing method, as shown in the block diagram of FIG. 3, when a component processing description is developed in a program, recognition and analysis processing of all component developing instruction statements in the source program is performed. 34, and immediately after the component processing description input 38 based on the expansion instruction sentence analysis result 35,
The component definition processing description registered in advance is input from the component storage file 37 via the component processing description input 38 and the component processing description output process 39, and the source program 40 after component development is executed.
Was being deployed to.

【0003】図4は従来の部品展開後ソースプログラム
を説明するための説明図である。以下適宜”部品処理記
述”を簡単に”部品”と表記する。
FIG. 4 is an explanatory diagram for explaining a conventional source program after component expansion. Hereinafter, "component processing description" will be simply referred to as "component".

【0004】図4では、例えば、3つの部品展開指示文
(’@部品名;’,部品名:PARTS−A,PART
S−B)の直後に、それぞれの部品処理記述が展開され
ている。しかし、そのうち2回出てくる’PARTS−
A’によって展開される部品処理記述は同じものであ
り、無駄な展開と言える。更に、全体として区切りの無
いプログラムになってしまっている。
In FIG. 4, for example, three component expansion directives ('@component name;', component name: PARTS-A, PART).
Immediately after S-B), each component processing description is expanded. However, 'PARTS-
The component processing description developed by A ′ is the same and can be said to be a wasteful development. Furthermore, the program has no breaks as a whole.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の部品処
理記述展開方式は、すべての部品展開指示文に対して、
これに対応する部品を展開していては、プログラムが大
きくなりすぎ、しかも、同じ処理記述が数カ所に現れ、
区切りの無い、保守のし難いプログラムができてしまう
という問題点がある。また、すべての部品展開指示文に
対応して部品を展開していると、部品を多用しているプ
ログラムの場合、翻訳処理速度が著しく低下してしまう
という問題点もある。
The above-described conventional component processing description expansion method is used for all component expansion instruction sentences.
If the parts corresponding to this are expanded, the program becomes too large, and the same processing description appears in several places,
There is a problem that a program that has no breaks and is difficult to maintain is created. Further, if the parts are expanded corresponding to all the parts expansion instruction sentences, there is a problem that the translation processing speed is remarkably reduced in the case of a program using many parts.

【0006】本発明の目的は、同一部品を複数回利用す
る場合にも効率的で冗長がなくかつ保守の行いやすいプ
ログラムを作成することができる部品処理記述展開方式
を提供することにある。
It is an object of the present invention to provide a component processing description developing system capable of creating a program that is efficient, has no redundancy and is easy to maintain even when the same component is used a plurality of times.

【0007】[0007]

【課題を解決するための手段】本発明の部品処理記述展
開方式は、プログラムの作成時に任意の機能をもつ処理
のまとまりおよび前記処理に必要なデータの宣言とから
なる複数の部品処理記述を前記プログラム中に展開する
部品処理記述展開方式において、最終的な生成物である
目的プログラムの生成対象となるソースプログラムを格
納するソースプログラム要求元と、前記ソースプログラ
ム中に記述してある部品展開指示文を認識及び解析する
部品展開指示文認識及び解析処理と、前記ソースプログ
ラム中で個々の部品処理記述が初めて出現した場合のみ
に定義済みの部品処理記述を入力するソースプログラム
入出力処理と、入力した前記部品処理記述を副手続き形
式部品処理記述に加工する部品処理記述の副手続き形式
への加工処理と、前記副手続き形式部品処理記述を一時
ファイルに出力する副手続き形式部品処理記述の一時フ
ァイルへの出力処理と、部品展開指示文を注釈行に変換
する部品展開指示文の註釈行への変換処理と、副手続き
呼び出し命令文を生成及び出力する副手続き呼び出し命
令の生成及び出力処理と、前記ソースプログラムの最後
に前記一時ファイルに出力済の前記副手続き形式部品処
理記述を付加して部品展開後ソースプログラムとして格
納ファイルに出力する一時ファイルの副手続き形式部品
処理記述の付加出力処理と、前記部品展開後ソースプロ
グラムを対象として翻訳し目的プログラムとして格納フ
ァイルに格納する翻訳処理とを備える構成である。
According to the component processing description development method of the present invention, a plurality of component processing descriptions consisting of a unit of processing having an arbitrary function at the time of creating a program and a declaration of data necessary for the processing are described above. A source program request source that stores a source program that is a generation target of a target program that is a final product in a component processing description deployment method that is deployed in a program, and a component deployment instruction statement described in the source program. A component expansion instruction sentence recognition and analysis process for recognizing and analyzing a component process input and source program input / output process for inputting a defined component process description only when an individual component process description first appears in the source program. Processing the component processing description into a subprocedure format for processing the component processing description into a subprocedure format, Output of subprocedural format component processing description to a temporary file, output of subprocedural format component processing description to a temporary file, and conversion processing of component expansion directives to comment lines to comment lines Generating and outputting a subprocedure call instruction for generating and outputting a subprocedure call instruction statement, and adding the already output subprocedure-type component processing description to the temporary file at the end of the source program It is configured to include an additional output process of a subprocedural component process description of a temporary file output to a storage file as a program, and a translation process of translating the source program after the component expansion as a target and storing the target program in the storage file.

【0008】[0008]

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

【0009】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0010】図において、1は部品の副手続き形式部品
処理記述への展開及び部品展開後のソースプログラムの
翻訳を制御する制御処理、2は最終的な生成物である目
的プログラムの生成対象となるソースプログラムが格納
されているソースプログラム要求元、3はソースプログ
ラム要求元2からソースプログラムを1行ずつ読み込み
部品展開指示文の認識及び解析処理4に渡し、この解析
結果が部品展開指示文の行でなければ部品展開後ソース
プログラム格納ファイル15に該当の行を出力するソー
スプログラム入出力処理、4はソースプログラム入出力
処理3から渡された行に対して、部品展開指示文の記述
のチェックを及び解析を行う部品展開指示文認識及び解
析処理、5は部品展開指示文認識及び解析処理4で得ら
れた部品名等を格納する展開指示文解析結果格納ファイ
ル、6はプログラム中に展開する部品処理記述及びこれ
に必要なデータの宣言を行う部品定義処理、7は部品定
義処理6で定義された部品を格納する部品格納ファイ
ル、8は展開指示文解析結果格納ファイル5に格納され
ている部品名を元に部品格納ファイル7より該当部品を
1行ずつ入力する部品処理記述入力、9は部品入力処理
8から得た部品処理記述を副手続き形式部品処理記述に
加工する部品処理記述の副手続き形式への加工処理、1
0は部品処理記述の副手続きへの加工処理9で加工した
部品処理記述を加工済み部品格納一時ファイル11へ出
力する副手続き形式部品処理記述の一時ファイルへの出
力処理、11は副手続き形式部品処理記述の一時ファイ
ルへの出力処理10から出力された加工済み部品記述を
格納する加工済み部品格納一時ファイル、12は部品展
開指示文を注釈行に変換する部品展開指示文の注釈行へ
の変換処理、13は副手続き呼び出し命令を生成及び出
力する副手続き呼び出し命令の生成及び出力処理、14
は部品展開後ソースプログラム格納ファイル15の最後
に加工済み部品格納一時ファイル11の内容を付加出力
する一時ファイルの副手続き形式部品処理記述の付加出
力処理、15は部品展開対象のソースプログラムと副手
続き呼び出し命令の生成及び出力処理12で生成した副
手続き呼び出し命令と加工済み部品格納一時ファイルに
格納されていた副手続き形式部品処理記述のすべてが出
力され、翻訳処理16の対象となる部品展開後ソースプ
ログラム格納ファイル、16は部品展開後ソースプログ
ラム格納ファイル15をソースプログラムの入力先とし
て目的プログラムの生成を行う翻訳処理、17は目的プ
ログラムの格納先である目的プログラム格納ファイルを
表わしている。
In the figure, 1 is a control process for controlling the expansion of a component into a subprocedural component process description and the translation of a source program after the component has been expanded, and 2 is a target of generation of an object program which is a final product. The source program request source 3 in which the source program is stored reads the source program line by line from the source program request source 2 and passes it to the recognition and analysis processing 4 of the component expansion instruction statement, and the analysis result is the line of the component expansion instruction statement. If it is not, the source program input / output process for outputting the corresponding line to the source program storage file 15 after the component expansion, 4 checks the description of the component expansion instruction statement for the line passed from the source program input / output process 3. And the component development instruction sentence recognition and analysis processing for analysis, 5 is the component name etc. obtained in the component development instruction sentence recognition and analysis processing 4. Deployment instruction statement analysis result storage file, 6 is a component processing description for declaring the component processing description to be developed in the program and data necessary for this, 7 is a component storage file for storing the components defined in the component definition processing 6 , 8 is a component process description input for inputting the relevant component line by line from the component storage file 7 based on the component name stored in the expansion instruction statement analysis result storage file 5, and 9 is the component process obtained from the component input process 8. Processing a description into a subprocedure format component processing description Processing a component processing description into a subprocedure format, 1
0 is a subprocedure format component processing description output to the processed component storage temporary file 11 that outputs the component processing description processed by the processing procedure 9 to the subprocedure format component processing description to a temporary file, and 11 is a subprocedure format component Outputting process description to temporary file Processed parts storage temporary file for storing processed parts description output from the processing 10, 12 is for converting a parts expansion instruction sentence to an annotation line Conversion of a parts expansion instruction sentence to annotation line Process 13 is a subprocedure call instruction generation and output process for generating and outputting a subprocedure call instruction, 14
Is a sub-procedural format part processing description additional output process of a temporary file that additionally outputs the contents of the processed parts storage temporary file 11 at the end of the source program storage file 15 after parts expansion, and 15 is a source program and a sub-procedure for the parts expansion target All the subprocedure call instructions generated in the call instruction generation and output processing 12 and the subprocedural format component processing description stored in the processed component storage temporary file are output, and the source after component expansion that is the target of the translation processing 16 is output. A program storage file, 16 is a translation process for generating a target program using the source program storage file 15 after component expansion as an input destination of the source program, and 17 is a target program storage file which is a storage destination of the target program.

【0011】次に動作について説明する。Next, the operation will be described.

【0012】まず動作に先立ち利用者は、最初に、部品
格納ファイル7の中に、ソースプログラムに展開しよう
としている部品が格納されていることを確認する。も
し、部品が不足している場合は、利用者は、部品定義処
理6を利用して必要な部品を定義し、部品格納ファイル
7に格納する。
First, prior to the operation, the user first confirms that the component storage file 7 stores the component to be expanded into the source program. If the number of parts is insufficient, the user uses the parts definition process 6 to define the necessary parts and stores them in the parts storage file 7.

【0013】次に、制御処理1に対して、目的プログラ
ムを生成する対象であるソースプログラムのプログラム
名が与えられる。このプログラム名をもとにしてソース
プログラム要求元2から、該当するソースプログラムを
1行ずつ入力する指示を、ソースプログラム入出力処理
3に対して出す。この指示により、ソースプログラム入
出力処理3は、ソースプログラム要求元2から該当ソー
スプログラムを1行ずつ読み取り、部品展開指示文認識
及び解析処理4に渡す。部品展開指示文認識及び解析処
理4では、ソースプログラムの入出力処理3より渡され
た行が部品展開指示文であるか否かを判別する。
Next, the control process 1 is given the program name of the source program for which the target program is to be generated. Based on this program name, the source program request source 2 issues an instruction to the source program input / output processing 3 to input the corresponding source program line by line. According to this instruction, the source program input / output processing 3 reads the relevant source program line by line from the source program request source 2 and passes it to the component development instruction sentence recognition and analysis processing 4. In the component development instruction sentence recognition and analysis process 4, it is determined whether or not the line passed from the input / output process 3 of the source program is the component development instruction sentence.

【0014】この結果部品展開指示文である場合は、こ
の解析によって得た情報を展開指示文解析結果格納ファ
イル5に一時的に格納する。また、部品展開指示文では
なかった場合はソースプログラム入出力処理3によって
その行は部品展開後ソースプログラム格納ファイル15
に出力される。次に部品処理記述入力8では、展開指示
文解析結果格納ファイル5の情報をもとにして、部品格
納ファイル7から部品処理記述を入力し、部品処理記述
の副手続き形式への加工処理9に渡す。部品処理記述の
副手続き形式への加工処理9では、部品処理記述入力8
から得た部品処理記述を副手続きの形式に加工し、副手
続き形式部品処理記述の一時ファイルへの出力処理10
へ渡す。副手続き形式部品処理記述の一時ファイルへの
出力処理10では、部品処理記述の副手続き形式への加
工処理9から渡された部品処理記述を加工済み部品格納
一時ファイル11に出力する。
In the case of this result component development instruction sentence, the information obtained by this analysis is temporarily stored in the development instruction sentence analysis result storage file 5. If it is not the component expansion instruction sentence, the line is expanded by the source program input / output processing 3 and the source program storage file 15 after the component expansion is executed.
Is output to. Next, in the component processing description input 8, the component processing description is input from the component storage file 7 on the basis of the information in the development instruction statement analysis result storage file 5, and the processing 9 into the subprocedure format of the component processing description is performed. hand over. In the processing 9 of the sub-procedure of the parts processing description, the parts processing description input 8
Processing of the component processing description obtained from the above into a subprocedure format and output of the subprocedure format component processing description to a temporary file 10
Hand over to. In the output process 10 of the subprocedural component processing description to the temporary file, the component processing description passed from the processing procedure 9 of the component processing description to the subprocedure format is output to the processed component storage temporary file 11.

【0015】次に、部品展開指示文の注釈行への変換処
理12で、ソースプログラム入出力処理3によって得た
部品展開指示文を注釈行へと変換し部品展開後ソースプ
ログラム格納ファイル15に出力する。さらに副手続き
呼び出し命令の生成及び出力処理13で、加工済み部品
格納一時ファイル11に格納されている副手続きを展開
指示文の記述された場所から呼び出すための命令文を生
成し、部品展開後ソースプログラム格納ファイル15に
出力する。
Next, in the process 12 of converting the component expansion instruction text to the annotation line, the component expansion instruction text obtained by the source program input / output processing 3 is converted into an annotation line and output to the source program storage file 15 after component expansion. To do. Further, in the subprocedure call command generation and output processing 13, a command statement for calling the subprocedure stored in the processed component storage temporary file 11 from the place where the expansion directive is described is generated, and the source after component expansion is generated. Output to the program storage file 15.

【0016】ここで、いろいろな言語の副手続きの形式
を考慮しておけば、複数言語への対応が可能である。
Here, it is possible to support a plurality of languages by considering the formats of subprocedures of various languages.

【0017】1つの部品に対する処理が完了すると、制
御をソースプログラム入出力処理3と部品展開指示文認
識及び解析処理4とに移して、同様の処理をソースプロ
グラムの終わりまで繰り返す。以上の処理をソースプロ
グラムの終了まで行った後、一時ファイルの副手続き形
式部品処理記述の付加出力14で、加工済み部品格納一
時ファイル11の内容を部品展開後ソースプログラム格
納ファイル15の最後に出力する。
When the processing for one component is completed, the control is transferred to the source program input / output processing 3 and the component development instruction sentence recognition and analysis processing 4, and the same processing is repeated until the end of the source program. After the above processing is performed until the end of the source program, the contents of the processed component storage temporary file 11 are output to the end of the source program storage file 15 after component expansion by the additional output 14 of the subprocedural component process description of the temporary file. To do.

【0018】最後に、部品展開後ソースプログラム格納
ファイル15に格納されているソースプログラムを、翻
訳処理16を使用して目的プログラムとして生成し、目
的プログラム格納ファイル17に格納する。
Finally, the source program stored in the source program storage file 15 after component expansion is generated as a target program using the translation processing 16 and stored in the target program storage file 17.

【0019】図2はCOBOL言語に関しての、部品の
副手続き形式への加工処理による展開例を説明するため
の説明図である。図2分図(A)は部品展開前のソース
プログラム、図2分図(B)は部品展開後のソースプロ
グラムをそれぞれ示す。
FIG. 2 is an explanatory diagram for explaining an example of expansion of a component into a subprocedure format in the COBOL language by processing. FIG. 2A shows a source program before component expansion, and FIG. 2B shows a source program after component expansion.

【0020】ソースプログラム要求元2には、最初は図
2分図(A)に示す”部品展開前”の状態でソースプロ
グラムが格納されている。このソースプログラムを1行
ずつ読み込み、部品展開指示文認識及び解析処理4で”
@PARTS-A;”の行を認識及び解析し、この結果をもとに
して部品処理記述入力8を行い、部品処理記述の副手続
き形式への加工処理9を行って加工済み部品格納一時フ
ァイル11に部品処理記述を出力する。そして、部品展
開指示文を注釈行に変換し、COBOLの副手続き呼び
出し命令である”PERFORM 〜 ”文を生成及び
出力する。
The source program request source 2 initially stores the source program in the "before component development" state shown in FIG. This source program is read line by line, and in the component development directive text recognition and analysis process 4, "
The line "@ PARTS-A;" is recognized and analyzed, and based on this result, the component processing description input 8 is performed, and the processing 9 in the subprocedure format of the component processing description 9 is performed to process the processed component storage temporary file. The component processing description is output to 11. Then, the component expansion instruction sentence is converted into a comment line, and a "PERFORM ~" sentence, which is a subprocedure call instruction of COBOL, is generated and output.

【0021】”@PARTS-B;”も同様に処理するが、その
次に現れる”@PARTS-A;”に対しては、部品の加工処理
は行わず、”PERFORM 〜 ”文の生成・出力の
みを行う。
"@ PARTS-B;" is processed in the same manner, but for "@ PARTS-A;" that appears next, no processing is performed on the parts, and the generation and output of the "PERFORM ~" statement. Only do.

【0022】そして、一時ファイルの副手続き形式部品
処理記述の付加出力処理14により最終的なソースプロ
グラムは、図2分図(B)に示す”部品展開後”のよう
になり、この生成した形式のソースプログラムを直接翻
訳したものと同等となる。
By the additional output process 14 of the subprocedural component processing description of the temporary file, the final source program becomes "after component expansion" shown in FIG. It is equivalent to a direct translation of the source program.

【0023】[0023]

【発明の効果】以上説明したように、本発明は、最終的
な生成物である目的プログラムの生成対象となるソース
プログラムを格納するソースプログラム要求元と、ソー
スプログラム中に記述してある部品展開指示文を認識及
び解析する部品展開指示文認識及び解析処理と、ソース
プログラム中で個々の部品処理記述が初めて出現した場
合のみに定義済みの部品処理記述を入力するソースプロ
グラム入出力処理と、入力した部品処理記述を副手続き
形式部品処理記述に加工する部品処理記述の副手続き形
式への加工処理と、副手続き形式部品処理記述を一時フ
ァイルに出力する副手続き形式部品処理記述の一時ファ
イルへの出力処理と、部品展開指示文を注釈行に変換す
る部品展開指示文の註釈行への変換処理と、副手続き呼
び出し命令文を生成及び出力する副手続き呼び出し命令
の生成及び出力処理と、ソースプログラムの最後に前記
一時ファイルに出力済の副手続き形式部品処理記述を付
加して部品展開後ソースプログラムとして格納ファイル
に出力する一時ファイルの副手続き形式部品処理記述の
付加出力処理と、部品展開後ソースプログラムを対象と
して翻訳し目的プログラムとして格納ファイルに格納す
る翻訳処理とを備えることにより、同一部品を複数回利
用する場合にも効率的で冗長がなくかつ保守の行いやす
いプログラムを作成することができるという効果が有
る。
As described above, according to the present invention, a source program request source that stores a source program that is a target of generation of an object program that is a final product, and a component expansion described in the source program. Part expansion Directive recognition and analysis processing for recognizing and analyzing directives, and source program input / output processing for inputting defined component processing descriptions only when individual component processing descriptions first appear in the source program, and input Process the processed component processing description into a subprocedural component processing description. Process the component processing description into a subprocedure format and output the subprocedural component processing description to a temporary file. Output processing, conversion processing of component expansion directives to comment lines, conversion to comment lines, and generation of subprocedure call statements And a process for generating and outputting a subprocedure call instruction to be output, and a temporary file that is output to a storage file as a source program after component expansion by adding the already output subprocedure component process description to the temporary file at the end of the source program. Efficient even when the same component is used multiple times by providing additional output processing of subprocedural component processing description and translation processing that translates the source program after component expansion and stores it in the storage file as the target program This has the effect that it is possible to create a program that has no redundancy and is easy to maintain.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】COBOL言語に関しての、部品の副手続き形
式への加工処理による展開例を説明するための説明図で
ある。
FIG. 2 is an explanatory diagram for describing an example of expansion of a component into a subprocedure format in a COBOL language by processing.

【図3】従来の部品処理記述展開方式のブロック図であ
る。
FIG. 3 is a block diagram of a conventional component processing description expansion method.

【図4】従来の部品展開後ソースプログラムを説明する
ための説明図である。
FIG. 4 is an explanatory diagram for explaining a conventional source program after component expansion.

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

1 制御処理 2 ソースプログラム要求元 3 ソースプログラム入出力処理 4 部品展開指示文の認識及び解析処理 5 展開指示文解析結果格納ファイル 6 部品定義処理 7 部品格納ファイル 8 部品処理記述入力 9 部品処理記述の副手続き形式への加工処理 10 副手続き形式部品処理記述の一時ファイルへの
出力処理 11 加工済み部品格納一時ファイル 12 部品展開指示文の注釈行への変換処理 13 副手続き呼び出し命令の生成及び出力処理 14 一時ファイルの副手続き形式部品処理記述の付
加出力処理 15 部品展開後ソースプログラム格納ファイル 16 翻訳処理 17 目的プログラム格納ファイル
1 control processing 2 source program request source 3 source program input / output processing 4 recognition and analysis processing of component expansion instruction statement 5 expansion instruction statement analysis result storage file 6 component definition processing 7 component storage file 8 component processing description input 9 component processing description Sub-procedural format processing 10 Output processing of sub-procedural format component processing description to temporary file 11 Processed component storage temporary file 12 Conversion processing to annotation line of component expansion instruction statement 13 Generation and output processing of sub-procedure call instruction 14 Temporary file sub-procedural component process description additional output process 15 Source expanded program storage file 16 Translation process 17 Target program storage file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの作成時に任意の機能をもつ
処理のまとまりおよび前記処理に必要なデータの宣言と
からなる複数の部品処理記述を前記プログラム中に展開
する部品処理記述展開方式において、最終的な生成物で
ある目的プログラムの生成対象となるソースプログラム
を格納するソースプログラム要求元と、前記ソースプロ
グラム中に記述してある部品展開指示文を認識及び解析
する部品展開指示文認識及び解析処理と、前記ソースプ
ログラム中で個々の部品処理記述が初めて出現した場合
のみに定義済みの部品処理記述を入力するソースプログ
ラム入出力処理と、入力した前記部品処理記述を副手続
き形式部品処理記述に加工する部品処理記述の副手続き
形式への加工処理と、前記副手続き形式部品処理記述を
一時ファイルに出力する副手続き形式部品処理記述の一
時ファイルへの出力処理と、部品展開指示文を注釈行に
変換する部品展開指示文の註釈行への変換処理と、副手
続き呼び出し命令文を生成及び出力する副手続き呼び出
し命令の生成及び出力処理と、前記ソースプログラムの
最後に前記一時ファイルに出力済の前記副手続き形式部
品処理記述を付加して部品展開後ソースプログラムとし
て格納ファイルに出力する一時ファイルの副手続き形式
部品処理記述の付加出力処理と、前記部品展開後ソース
プログラムを対象として翻訳し目的プログラムとして格
納ファイルに格納する翻訳処理とを備えることを特徴と
する部品処理記述展開方式。
1. A component processing description expansion method for expanding a plurality of component processing descriptions in a program, each of which includes a set of processing having an arbitrary function at the time of creating a program and a declaration of data necessary for the processing. Source program request source that stores a source program that is a generation target of a target program that is a unique product, and component expansion instruction statement recognition and analysis processing that recognizes and analyzes the component expansion instruction statement described in the source program. , A source program input / output process for inputting a defined component processing description only when an individual component processing description first appears in the source program, and the inputted component processing description is processed into a subprocedural component processing description Processing of parts process description into subprocedure format and output of the subprocedure form part process description to a temporary file Output of a subprocedural format component processing description to a temporary file, conversion of a component expansion directive to an annotation line, conversion to a comment line of a component expansion directive, and generation and output of a subprocedure call statement. Generation and output processing of procedure call instruction, and sub-procedure of temporary file which adds the sub-procedure type component processing description already output to the temporary file to the end of the source program and outputs to the storage file as a source program after component expansion A component processing description developing method comprising: an additional output processing of a formal component processing description; and a translation processing for translating the source program after the component expansion and storing it as a target program in a storage file.
JP23947492A 1992-09-08 1992-09-08 Parts processing description expanding system Withdrawn JPH0689166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23947492A JPH0689166A (en) 1992-09-08 1992-09-08 Parts processing description expanding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23947492A JPH0689166A (en) 1992-09-08 1992-09-08 Parts processing description expanding system

Publications (1)

Publication Number Publication Date
JPH0689166A true JPH0689166A (en) 1994-03-29

Family

ID=17045312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23947492A Withdrawn JPH0689166A (en) 1992-09-08 1992-09-08 Parts processing description expanding system

Country Status (1)

Country Link
JP (1) JPH0689166A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7241826B2 (en) 2001-06-26 2007-07-10 Daikin Industries, Ltd. Resin composition, process for production thereof, and foam-insulated electric wire
JP2009205190A (en) * 2008-02-26 2009-09-10 Hitachi Ltd Automatic software configuration device
KR20190029784A (en) 2013-01-24 2019-03-20 다이킨 고교 가부시키가이샤 Composition, and method for producing foam molded material and electric wire
US10557006B2 (en) 2013-01-24 2020-02-11 Daikin Industries, Ltd. Composition, and method for producing foam molded material and electric wire

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7241826B2 (en) 2001-06-26 2007-07-10 Daikin Industries, Ltd. Resin composition, process for production thereof, and foam-insulated electric wire
US7884148B2 (en) 2001-06-26 2011-02-08 Daikin Industries, Ltd. Resin composition, method of producing same, and foam-insulated electric wire
JP2009205190A (en) * 2008-02-26 2009-09-10 Hitachi Ltd Automatic software configuration device
KR20190029784A (en) 2013-01-24 2019-03-20 다이킨 고교 가부시키가이샤 Composition, and method for producing foam molded material and electric wire
US10304585B2 (en) 2013-01-24 2019-05-28 Daikin Industries, Ltd. Composition, and method for producing foam molded material and electric wire
US10557006B2 (en) 2013-01-24 2020-02-11 Daikin Industries, Ltd. Composition, and method for producing foam molded material and electric wire

Similar Documents

Publication Publication Date Title
JP2654001B2 (en) Machine translation method
JPH07311677A (en) Operation processor
JPH0689166A (en) Parts processing description expanding system
Klovstad et al. The CASPERS linguistic analysis system
JPH04286029A (en) Source program converter
JPH07160490A (en) Coding assistance device
JP3003459B2 (en) Program creation support device
JPH06214776A (en) Automatic generation system for software
JPH01175035A (en) Multi-language processing converter
JP2000214874A (en) Sound synthesizing apparatus and its method, and computer-readable memory
JP2539070B2 (en) Compiler processor
JP3034527B2 (en) Editor device
JPS62203265A (en) Mechanical translation system
JP2713353B2 (en) Knowledge extraction device
US20030088858A1 (en) Closed-loop design methodology for matching customer requirements to software design
JPH06214777A (en) Method and device for developiig program
JPH06103023A (en) Japanese code conversion processing system
JPH0414144A (en) Compiling processing method
JPH03164975A (en) Mechanical translating device
JP3051747B2 (en) Machine translation method and machine translation system
JPS62235643A (en) Program language translator
JPH0546370A (en) Program generating device
JPH04137073A (en) Design drawing device
JPH03242759A (en) Japanese-language document elaboration backup device
JP2003263315A (en) Automatic program creating device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991130