JPH05108318A - Source code generation system - Google Patents

Source code generation system

Info

Publication number
JPH05108318A
JPH05108318A JP26986891A JP26986891A JPH05108318A JP H05108318 A JPH05108318 A JP H05108318A JP 26986891 A JP26986891 A JP 26986891A JP 26986891 A JP26986891 A JP 26986891A JP H05108318 A JPH05108318 A JP H05108318A
Authority
JP
Japan
Prior art keywords
data
source code
source
input
processing
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
JP26986891A
Other languages
Japanese (ja)
Inventor
Kuniyoshi Kogure
邦美 小暮
Yoshifumi Maeda
好史 真栄田
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.)
OKINAWA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Okinawa Ltd
Original Assignee
OKINAWA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Okinawa 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 OKINAWA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Okinawa Ltd filed Critical OKINAWA NIPPON DENKI SOFTWARE KK
Priority to JP26986891A priority Critical patent/JPH05108318A/en
Publication of JPH05108318A publication Critical patent/JPH05108318A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To generate the source codes of plural languages from the data inputted from an input device and based on the registered language data. CONSTITUTION:The data inputted from an input device 2 are delivered to an execution control part 6 through the processing selector means of an input information processing part 5. The data analyzer means of the part 6 analyzes the input data, and the source code production means of a source code production part 7 is called out. The source code producing means takes the source code data on the corresponding language out of a source data control part of a filing device 10 via a source data file selector means of a registered data control part 8 and generates the source code of the language.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はソースコード生成方式、
特に対話型データ設定によるソースコード生成方式に関
するものである。
The present invention relates to a source code generation system,
Particularly, it relates to a source code generation method by interactive data setting.

【0002】[0002]

【従来の技術】従来のこの種のソースコード生成方式で
は、対話による入力データを基に、入力データと1対1
に対応したソースデータからソースコードの生成が行わ
れている。
2. Description of the Related Art In the conventional source code generation method of this type, one-to-one correspondence with input data is made based on input data by dialogue.
Source code is generated from the source data corresponding to.

【0003】[0003]

【発明が解決しようとする課題】上記した従来のソース
コード生成方式では、処理手続きの変更、追加などの場
合は再度処理手続きを記述しコンパイル等を行ないシス
テム全体を作り直さなければならないという欠点があっ
た。また、複数の言語に対応できないという欠点があ
る。
The above-mentioned conventional source code generation method has a drawback in that when a processing procedure is changed or added, it is necessary to describe the processing procedure again and compile it to recreate the entire system. It was In addition, there is a drawback that it cannot support multiple languages.

【0004】[0004]

【課題を解決するための手段】本発明のソースコード生
成方式は、ソース生成コードを格納するファイル装置に
接続されてデータ処理を行うデータ処理装置が、入力装
置から入力された処理要求に対して処理選択を行う入力
情報処理部と、 前記処理選択の結果により起動され、
入力データを基にデータの解析を行う解析手段を含む実
行制御部と、前記解析手段から渡された入力データを基
にソースコードを作成するソースコード作成手段を含む
ソースコード作成部と、 任意の言語に対応するソース
データファイル選択手段と前記ファイル装置に対してデ
ータの読み書きを行う登録データ読み書き手段を含む登
録データ管理部と、 ソースコードの出力を行うための
ソースコード読み込み手段とソースコード出力手段を含
むソースコード出力部とを有することを特徴とする。
According to the source code generation method of the present invention, a data processing device, which is connected to a file device storing the source generation code and performs data processing, responds to a processing request input from an input device. An input information processing unit for selecting a process, activated by the result of the process selection,
An execution control unit including an analysis unit that analyzes the data based on the input data; a source code creation unit including a source code creation unit that creates the source code based on the input data passed from the analysis unit; A registered data management unit including source data file selection means corresponding to a language and registered data read / write means for reading / writing data from / to the file device, source code reading means and source code output means for outputting source code. And a source code output section including.

【0005】[0005]

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

【0006】図1は、本発明の一実施例構成の概略図で
あり、データ処理装置1は、入出力制御部4,入力情報
処理部5,実行制御部6,ソースコード作成部7,登録
データ管理部8およびソースコード出力部9から構成さ
れる。
FIG. 1 is a schematic diagram of the configuration of an embodiment of the present invention. The data processing device 1 includes an input / output control unit 4, an input information processing unit 5, an execution control unit 6, a source code creation unit 7, and a registration. It is composed of a data management unit 8 and a source code output unit 9.

【0007】入出力制御部4は、入力装置2からの入力
処理と、実行制御部6の処理結果をディスプレイ3への
出力処理を行う。
The input / output control unit 4 performs input processing from the input device 2 and output processing results of the execution control unit 6 to the display 3.

【0008】入力情報処理部5は、入力装置2から入力
されたデータにより実行制御部6、ソースコード出力部
9または登録データ管理部8を呼び出す処理選択手段を
含んでいる。
The input information processing section 5 includes processing selection means for calling the execution control section 6, the source code output section 9 or the registered data management section 8 according to the data input from the input device 2.

【0009】実行制御部6は、入力装置2から入力され
たデータを基に、データ解析処理を行い、ソースデータ
作成部7を呼び立すデータ解析手段と、入力データを基
に画面データの作成を行う画面作成手段と作成された画
面をディスプレイ3に表示する画面表示手段を含んでい
る。
The execution control unit 6 performs a data analysis process based on the data input from the input device 2 and calls up the source data creation unit 7, and a screen data creation process based on the input data. And a screen display means for displaying the created screen on the display 3.

【0010】ソースコード作成部7は、実行制御部6の
データ解析手段から渡されたデータを基に、登録データ
管理部8のソースデータファイル選択手段を介してファ
イル装置10のソースデータ管理部のデータを参照する
事により任意の言語のソースコードを生成するソースコ
ード生成手段を含んでいる。
The source code creating unit 7 operates on the basis of the data passed from the data analyzing unit of the execution control unit 6 and, via the source data file selecting unit of the registered data managing unit 8, the source data managing unit of the file device 10. It includes a source code generation means for generating a source code of an arbitrary language by referring to the data.

【0011】ソースデータ出力部9は、生成されたソー
スデータを登録データ管理部8の登録データ管理部8の
登録データ読み書き手段を介してソースファイルを読み
込むソースファイル読み込み手段と実際に出力するソー
スコード出力手段を含んでいる。
The source data output section 9 is a source file reading means for reading the generated source data through the registered data reading / writing means of the registered data managing section 8 of the registered data managing section 8 and a source code for actually outputting the source file. Includes output means.

【0012】登録データ管理部8は、目的の言語のソー
スコードを生成するためのソースデータファイル選択手
段と、実際のソースデータおよび生成されたソースコー
ドの読み書きする登録データ読み書き手段を含んでい
る。
The registration data management unit 8 includes a source data file selecting means for generating a source code of a target language, and a registration data reading / writing means for reading / writing actual source data and the generated source code.

【0013】図2はファイル装置10のソースデータ管
理部の内部構造を示す図であり、各言語毎にソースデー
タが格納されている。また図3はファイル装置10のソ
ースファイル管理部の内部構造を示す図である。
FIG. 2 is a diagram showing the internal structure of the source data management section of the file device 10, in which source data is stored for each language. FIG. 3 is a diagram showing the internal structure of the source file management unit of the file device 10.

【0014】次に上記のように構成されたソースコード
生成方式の動作について図1から図3を用いて説明す
る。
Next, the operation of the source code generation system configured as described above will be described with reference to FIGS.

【0015】(1)ソースコードの生成 入力装置2から、データ入力を行うと入力情報処理部5
の処理選択手段を介して実行制御部6のデータ解析手段
が処理手続きに従って処理を行い、ソースデータ作成部
7のソースコード作成手段の処理手続きに従い、登録デ
ータ管理部8のソースデータファイル選択手段を介し
て、ファイル装置10のソースデータ管理部から対応す
るソースデータを読み込み、入力データに対応するソー
スコードの作成を行う。
(1) Generation of Source Code When data is input from the input device 2, the input information processing unit 5
The data analysis means of the execution control unit 6 performs the processing according to the processing procedure through the processing selection means of FIG. Via the source data management unit of the file device 10, the corresponding source data is read and the source code corresponding to the input data is created.

【0016】作成されたソースコードは、実行制御部6
の画面作成手段の処理手続きに従って、画面作成が行わ
れ、画面表示手段の処理手続きに従ってディスプレイ3
に表示を行う。
The created source code is executed by the execution control unit 6
The screen is created according to the processing procedure of the screen creating means, and the display 3 is displayed according to the processing procedure of the screen displaying means.
Is displayed.

【0017】(2)ソースコードの登録 入力装置2から、ソースコードの登録命令を入力する
と、登録データ管理部8の登録データ読み書き手段はソ
ースコード作成部7に作成されているソースコードをフ
ァイル装置10のソースファイル管理部へ登録する。
(2) Registration of Source Code When a source code registration command is input from the input device 2, the registration data read / write means of the registration data management unit 8 stores the source code created in the source code creation unit 7 in a file device. Register in the source file management unit of 10.

【0018】(3)ソースコードの削除 入力装置2から、ソースコードの削除命令を入力する
と、登録データ管理部8の登録データ読み書き手段はフ
ァイル装置10のソースファイル管理部から指定された
ソースコードの削除を行う。
(3) Deletion of source code When a source code deletion command is input from the input device 2, the registration data reading / writing means of the registration data management unit 8 executes the source code specified by the source file management unit of the file device 10. Delete it.

【0019】(4)ソースファイルの読み込み 入力装置2から、ソースコードの読み込み命令を入力す
ると、実行制御部6のデータ解析手段が処理手続きに従
って処理を行い、ソースデータ作成部7のソースコード
作成手段の処理手続きに従い、登録データ管理部8の登
録データ読み書き手段を介して、ファイル装置10のソ
ースファイル管理部から対応するソースコードを読み込
み、画面作成手段の処理手続きに従って、画面作成を行
い、画面表示手段の処理手続きに従ってディスプレイ3
に表示を行う。
(4) Source file reading When a source code reading command is input from the input device 2, the data analysis means of the execution control section 6 performs processing in accordance with the processing procedure, and the source code creation means of the source data creation section 7 is executed. In accordance with the processing procedure of No. 3, the corresponding source code is read from the source file management unit of the file device 10 via the registration data read / write unit of the registration data management unit 8, the screen is created and the screen is displayed according to the processing procedure of the screen creation unit Display 3 according to the processing procedure of the means
Is displayed.

【0020】(5)ソースコードの変更 入力装置2から、ソースコードの変更命令を入力する
と、情報処理部5の処理選択手段を介して実行制御部6
のデータ解析手段が処理手続きに従って処理を行い、ソ
ースデータ作成部7のソースコード作成手段の処理手続
きに従い、登録データ管理部8のソースデータファイル
選択手段を介して、ファイル装置10のソースデータ管
理部から指定のソースデータを読み込み、指定された言
語に対応するソースコードの変更を行う。
(5) Source code change When a source code change command is input from the input device 2, the execution control unit 6 is executed via the process selecting means of the information processing unit 5.
Data analysis means performs processing according to the processing procedure, and according to the processing procedure of the source code creation means of the source data creation section 7, via the source data file selection means of the registered data management section 8, the source data management section of the file device 10. Read the specified source data from and change the source code corresponding to the specified language.

【0021】(6)ソースコードの出力 入力装置2から、ソースコード出力命令を入力すると、
ソースデータ出力部9のソースデータ読み込み手段が登
録データ管理部8の登録データ読み込み手段を介してフ
ァイル装置10のソースファイル管理部からソースコー
ドを読み込み、ソースデータ出力部9のソースデータ出
力手段によりソースコードを出力する。
(6) Source code output When a source code output command is input from the input device 2,
The source data reading unit of the source data output unit 9 reads the source code from the source file management unit of the file device 10 via the registration data reading unit of the registration data management unit 8, and the source data output unit 9 of the source data output unit 9 sources the source code. Output the code.

【0022】[0022]

【発明の効果】以上説明したように本発明は、入力デー
タからソースコードを生成する際、入力データに対応す
るソースコードデータを各言語毎に作成管理する事で複
数の言語に対応する事が可能である。
As described above, according to the present invention, when a source code is generated from input data, source code data corresponding to the input data is created and managed for each language, so that the present invention can support a plurality of languages. It is possible.

【0023】また入力データに対応するソースデータ
は、データベース化され管理されるので改編が容易であ
るためシステムの保守を容易にするといった効果があ
る。
Further, since the source data corresponding to the input data is made into a database and managed, it can be easily reorganized, which has the effect of facilitating the maintenance of the system.

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

【図1】本発明における一実施の例構成概略図である。FIG. 1 is a schematic diagram of an example configuration according to an embodiment of the present invention.

【図2】図1中のソースデータ管理部の内部構造を示す
図である。
FIG. 2 is a diagram showing an internal structure of a source data management unit in FIG.

【図3】図1中のソースファイル管理部の内部構造を示
す図である。
FIG. 3 is a diagram showing an internal structure of a source file management unit in FIG.

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

1 データ処理装置 2 入力装置 3 ディスプレイ 4 入出力処理制御部 5 入力情報処理部 6 実行制御部 7 ソースコード作成部 8 登録データ管理部 9 ソースコード出力部 10 ファイル装置 DESCRIPTION OF SYMBOLS 1 data processing device 2 input device 3 display 4 input / output processing control unit 5 input information processing unit 6 execution control unit 7 source code creation unit 8 registered data management unit 9 source code output unit 10 file device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ソース生成コードを格納するファイル装
置に接続されてデータ処理を行うデータ処理装置が、 入力装置から入力された処理要求に対して処理選択を行
う入力情報処理部と、 前記処理選択の結果により起動され、入力データを基に
データの解析を行う解析手段を含む実行制御部と、 前記解析手段から渡された入力データを基にソースコー
ドを作成するソースコード作成手段を含むソースコード
作成部と、 任意の言語に対応するソースデータファイル選択手段と
前記ファイル装置に対してデータの読み書きを行う登録
データ読み書き手段を含む登録データ管理部と、 ソースコードの出力を行うためのソースコード読み込み
手段とソースコード出力手段を含むソースコード出力部
とを有することを特徴とするソースコード生成方式。
1. A file device for storing source generation code.
A data processing device that is connected to a storage device and performs data processing performs processing selection in response to a processing request input from an input device.
Based on the input data, it is activated by the input information processing unit and the result of the process selection.
An execution control unit including an analysis means for analyzing data, and a source code based on the input data passed from the analysis means.
Source code including source code creation means for creating code
Creation section and source data file selection means for any language
Registration to read and write data to the file device
Registered data management unit including data read / write means and source code reading to output source code
Source code output section including means and source code output means
A source code generation method comprising:
JP26986891A 1991-10-18 1991-10-18 Source code generation system Pending JPH05108318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26986891A JPH05108318A (en) 1991-10-18 1991-10-18 Source code generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26986891A JPH05108318A (en) 1991-10-18 1991-10-18 Source code generation system

Publications (1)

Publication Number Publication Date
JPH05108318A true JPH05108318A (en) 1993-04-30

Family

ID=17478331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26986891A Pending JPH05108318A (en) 1991-10-18 1991-10-18 Source code generation system

Country Status (1)

Country Link
JP (1) JPH05108318A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005129027A (en) * 2003-10-23 2005-05-19 Microsoft Corp Design for application programming interface (api)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005129027A (en) * 2003-10-23 2005-05-19 Microsoft Corp Design for application programming interface (api)

Similar Documents

Publication Publication Date Title
US4864516A (en) Method for implementing an on-line presentation in an information processing system
JP2994164B2 (en) Scenario editing device
EP0056886A1 (en) Data processing system with an interactive display
JPH05108318A (en) Source code generation system
JPH06110733A (en) Test case generating device of program
US5553278A (en) Method and system for manipulation of database and issuing report thereof
JPS60134282A (en) System screen display system
JPH02247720A (en) Various languages display system
JP2692196B2 (en) Test data editing method
JPH0833834B2 (en) Display panel generation method
JP3143909B2 (en) File processing device
JPH06242933A (en) Program document maintenance device
JPH09297647A (en) Item data input device
JPH0421151A (en) Picture input/output processing system
JP2520633B2 (en) Apparatus and method for creating program dictionary
JPH05257659A (en) Generation device for source program
JPH05334325A (en) Document preparing system of data processor
JPH0540509A (en) Picture developing device for numerical controller
JPS63138466A (en) Control method for form data on cad system
JPS62135958A (en) Simulation system
JPH03186933A (en) Symbol processing system for language processing system
JPH03144826A (en) Automatic program producing system
JPH0378079A (en) Interactive text preparing system
JPH05265731A (en) Global job network diagram producer
JPH09120358A (en) Use form extracting method and related information extracting method for physical entity in program