JPH0296228A - Production/correction system for program and specifications - Google Patents

Production/correction system for program and specifications

Info

Publication number
JPH0296228A
JPH0296228A JP24802288A JP24802288A JPH0296228A JP H0296228 A JPH0296228 A JP H0296228A JP 24802288 A JP24802288 A JP 24802288A JP 24802288 A JP24802288 A JP 24802288A JP H0296228 A JPH0296228 A JP H0296228A
Authority
JP
Japan
Prior art keywords
program
information
specification information
input
file
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
JP24802288A
Other languages
Japanese (ja)
Inventor
Shunzo Imai
今井 俊三
Hideo Yoshida
秀夫 吉田
Kazuaki Nanba
難波 和秋
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 JP24802288A priority Critical patent/JPH0296228A/en
Publication of JPH0296228A publication Critical patent/JPH0296228A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To improve the software quality by producing automatically a program form the specifications and unifying the program and the specification to prevent the discordance between them. CONSTITUTION:The software which is actuated by a CPU 1 of a computer includes an input control means 1-1, a specification information production means 1-2, an automatic program production means 1-3, a specification information merging program production means 1-4, and a specification information output means 1-5. A memory 3 includes the files 3-1 - 3-5 which input and output the information to those means of the software in response to each arrow in the figure. The means 1-1 displays the input guidance, etc., on an input device 2 for input of various information and gives the instructions to the means 1-1 - 1-5 after deciding these input information. The means 1-2 produces the specification information on a produced program, and the means 1-3 applies a production rule to the specification information to automatically produce a program. The means 1-4 produces a specification information merging program and puts it into a note line of the program produced by the means 1-3. Then the means 1-5 outputs the extracting specification information in the form the specifications.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムおよび仕様書の生成修正方式に関し
、特にコンピュータのプログラムとその仕様書とを生成
したり修正したりするプログラムおよび仕様書の生成修
正方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for generating and modifying programs and specifications, and particularly relates to a method for generating and modifying programs and specifications for a computer program and its specifications. Concerning the correction method.

〔従来の技術〕[Conventional technology]

従来のプログラムおよび仕様書の生成修正方式は、作成
するプログラムの仕様書を、紙の上に手作業で記録する
ことにより、作成して保管するとともに、別途、プログ
ラムをコンピュータの磁気媒体に生成して保管している
The conventional method for generating and modifying programs and specifications involves creating and storing specifications for the program to be created by manually recording them on paper, and then separately generating the program on a computer's magnetic medium. It is kept in storage.

このため、従来のプログラムおよび仕様書の生成修正方
式は、既に作成済で保管されているプログラムおよび仕
様書を修正する場合にも、プログラムとその仕様書とを
それぞれ別々に修正している。
For this reason, in the conventional program and specification generation/modification method, even when modifying a program and specifications that have already been created and stored, the program and its specifications are modified separately.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラムおよび仕様書の生成修正方式
は、プログラムをコンピュータの磁気媒体に生成して保
管し、必要に応じて修正するとともに、その仕様書を紙
の上の手作業で修正したければならないので、作成済の
プログラムを更新または再利用を行う場合に、プログラ
ムのみが修正されて、その仕様書が修正されなかったり
、プログラムとその仕様書との修正に不一致が生じなり
する誤りが発生し易いという欠点がある。
The conventional method of generating and modifying programs and specifications described above is to generate programs on a computer's magnetic medium, store them, modify them as necessary, and if you wish to manually modify the specifications on paper. Therefore, when updating or reusing a program that has already been created, errors may occur, such as only the program being modified and its specifications not being modified, or discrepancies between modifications between the program and its specifications. It has the disadvantage of being easy to do.

本発明の目的は、仕様書から自動的にプログラムを生成
することにより、プログラムとその仕様書とを一体化し
て、プログラムとその仕様書との不一致を防ぎ、ソフト
ウェアの品貫を向上させる二とができるプログラムおよ
び仕様書の生成修正方式を提供することにある。
The purpose of the present invention is to automatically generate a program from a specification, thereby integrating the program and its specification, preventing inconsistency between the program and its specification, and improving the quality of software. The purpose of this invention is to provide a method for generating and modifying programs and specifications that can be used to create and modify programs and specifications.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラムおよび仕様書の生成修正方式は、 (A)コンピュータのプログラムおよび仕様書に関する
生成と修正とのために、入力表示装置の表示部に入力メ
ニューや入力案内を表示することにより、前記入力表示
装置の入力部から種々の入力情報を入力させる入力制御
手段、 (B)前記入力制御手段で入力情報を判断することによ
り仕様情報の入力が指示されたとき、あらかじめ共通仕
様情報ファイルに格納されているファイル仕様、データ
定義仕様、処理仕様を含む様々なプログラムで共通に使
用できる共通仕様情報およびプロダクト情報ファイルの
一部に格納されている既゛に作成済の仕様情報を、前記
入力制御手段からの入力情報により選択して使用し、前
記入力制御手段からの入力情報を用いて内容の追加およ
び修正を行って、作成プログラムの仕様情報を生成し、
生成した仕様情報を仕様情報ファイルに格納する仕様情
報生成手段、 (C)前記入力制御手段で入力情報を判断することによ
りプログラムの自動生成が指示されたとき、前記仕様情
報生成手段で生成した仕様情報に、あらかじめプログラ
ム生成規則ファイルに格納されているプログラム生成規
則を適用して、自動的に作成プログラムを生成して、生
成した作成プロゲラ11をプログラムファイルに格納す
るプログラム自動生成手段、 (D)前記入力制御手段で入力情報を判断することによ
り仕様情報とプログラムとの併合が指示されたとき、前
記プログラム自動生成手段で生成した作成プログラムを
前記プログラムファイルから読出すとともに、前記仕様
情報生成手段で生成した対応する仕様情報を前記仕様情
報ファイルから読出して、読出した仕様情報を読出した
作成プログラムの注記行に挿入して併合した仕様情報併
合プログラムを前記プロダクト情報ファイルに格納する
仕様情報併合プログラム生成手段、 (E)前記入力制御手段で入力情報を判断することによ
り仕様書の出力が指示されたとき、前記仕様情報併合プ
ログラム生成手段で格納した仕様情報併合プログラムを
前記プロダクト情報ファイルから読出して、作成プログ
ラムの注記行にある仕様情報を抽出して仕様書形式で出
力装置に出力する仕様情報出力手段、 を備えて構成されている。
The program and specification generation/correction method of the present invention includes: (A) In order to generate and correct computer programs and specifications, the above-described method is performed by displaying input menus and input guides on the display section of the input display device. an input control means for inputting various input information from an input section of an input display device; (B) storing in advance a common specification information file when inputting specification information is instructed by determining the input information by the input control means; Common specification information that can be commonly used by various programs, including file specifications, data definition specifications, and processing specifications, and specification information that has already been created and is stored in a part of the product information file, is transferred to the input control. Selecting and using the input information from the input control means, adding and modifying contents using the input information from the input control means, and generating specification information of the creation program;
(C) a specification generated by the specification information generation means when automatic generation of a program is instructed by determining input information by the input control means; automatic program generation means for automatically generating a creation program by applying a program generation rule stored in advance in a program generation rule file to the information, and storing the generated creation progera 11 in a program file; (D) When the input control means instructs to merge the specification information and the program by determining the input information, the creation program generated by the automatic program generation means is read from the program file, and the specification information generation means Generating a specification information merging program that reads the generated corresponding specification information from the specification information file, inserts the read specification information into the note line of the read creation program, and stores the merged specification information merging program in the product information file. (E) when outputting a specification is instructed by determining input information by the input control means, reading a specification information merging program stored in the specification information merging program generating means from the product information file; A specification information output means for extracting specification information in a note line of a creation program and outputting it to an output device in a specification format.

〔実施例〕〔Example〕

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

第1図は本発明のプログラムおよび仕様書の生成修正方
式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the program and specification generation/modification method of the present invention.

第1図に示すように、コンピュータの中央処理装置1で
動作するソフトウェアである入力制御手段1−1は、コ
ンピュータのプログラムおよび仕様書に関する生成と修
正とのために、入力表示装置2の表示部であるデイスプ
レィに入力メニューや入力案内を表示することにより、
入力表示装置2の入力部であるキーボードから種々の入
力情報を入力させている。
As shown in FIG. 1, the input control means 1-1, which is software running on the central processing unit 1 of the computer, uses the display section of the input display device 2 to generate and modify computer programs and specifications. By displaying input menus and input guidance on the display,
Various input information is inputted from a keyboard which is an input section of the input display device 2.

また、中央処理装置1で動作するソフトウェアである仕
様情報生成手段1−2は、入力制御手段1−1で入力情
報を判断することにより仕様情報の入力が指示されたと
き、あらかじめ記憶装置3の共通仕様情報ファイル3−
1に格納されているファイル仕様、データ定義仕様、処
理仕様を含む様々なプログラムで共通に仕様できる共通
仕様情報および記憶装置3のプロダクト情報ファイル3
−2の一部に格納されている既に作成済の仕様情報を、
入力制御手段1−1からの入力情報により選択して使用
し、入力制御手段1−1からの入力情報を用いて内容の
追加および修正を行って、作成プログラムの仕様情報を
生成し、生成した仕様情報を記憶装置3の仕様情報ファ
イル3−3に格納している。
Further, when the specification information generation means 1-2, which is software operating on the central processing unit 1, is instructed to input specification information by determining the input information by the input control means 1-1, the specification information generation means 1-2 stores the information in the storage device 3 in advance. Common specification information file 3-
Common specification information that can be commonly used by various programs including file specifications, data definition specifications, and processing specifications stored in 1 and product information file 3 in storage device 3
-2, the already created specification information stored in part of
Selected and used based on the input information from the input control means 1-1, added and modified contents using the input information from the input control means 1-1, and generated specification information of the created program. The specification information is stored in the specification information file 3-3 of the storage device 3.

第2図は本実施例の共通仕様情報の一例を示す情報説明
図である。
FIG. 2 is an information explanatory diagram showing an example of common specification information of this embodiment.

第2図に示すように、本実施例の共通仕様情報ファイル
3−1に格納されている共通仕様情報21は、一連番号
、仕様属性、共通仕様記述、コメントを有しており、そ
の仕様属性は、ファイル仕様指定のF、データ定義仕様
指定のり、処理定義仕様指定のPの何れかを有している
As shown in FIG. 2, the common specification information 21 stored in the common specification information file 3-1 of this embodiment has a serial number, specification attributes, common specification descriptions, and comments. has either F for specifying a file specification, Glue for specifying a data definition specification, or P for specifying a process definition specification.

また、共通仕様情報21の仕様属性および共通仕様記述
の一例を示すファイル仕様例22は、仕様属性としてフ
ァイル仕様指定のFを有し、共通仕様記述としてファイ
ル名称の得意先マスク。
Further, a file specification example 22 showing an example of the specification attribute and common specification description of the common specification information 21 has F for specifying the file specification as the specification attribute, and a customer mask of the file name as the common specification description.

ファイルIDのTOK−MST、ファイル編成を示す編
成のM、レコード長の512.ブロッキングファクタを
示すBLKの1.格納された装置を示す装置のMSD、
キー1のTK−CDおよびキー2の空白を有している。
TOK-MST of the file ID, M of the organization indicating the file organization, and 512 of the record length. 1 of BLK indicating blocking factor. the MSD of the device indicating the stored device;
It has a TK-CD for key 1 and a blank for key 2.

同様に、データ定義仕様例23は、仕様属性としてデー
タ定義仕様指定のDを有し、共通仕様記述としてデータ
定義名称の売上数量、データ属性′のS1桁数の9.1
.初期値のZEROを有している。
Similarly, data definition specification example 23 has a data definition specification designation D as a specification attribute, a sales quantity of data definition name as a common specification description, and 9.1 of S1 digit number of data attribute'.
.. It has an initial value of ZERO.

同様に、処理定義仕様例24は、仕様属性として処理定
義仕様指定のPを有し、共通仕様記述として処理名称の
売上金額、処理内容の2行に渡る記述である売上数量×
売上金額を有している。
Similarly, processing definition specification example 24 has P, which specifies processing definition specification, as a specification attribute, and as common specification descriptions, the sales amount is the processing name, and the sales quantity x which is a two-line description of the processing details.
Has sales amount.

第3図は本実施例の仕様情報の一例を示す情報説明図で
ある。
FIG. 3 is an information explanatory diagram showing an example of specification information of this embodiment.

第3図に示すように、本実施例のプロダクト情報ファイ
ル3−2の一部に格納されている既に作成済の仕様情報
および仕様情報ファイル3−3に格納する仕様情報の例
である仕様情報31は、一連番号、仕様形式、仕様記述
、コメントを有しており、その仕様形式は、入力ファイ
ル指定のF1〜Fに、出力ファイル指定の01〜OL。
As shown in FIG. 3, specification information that is an example of already created specification information stored in a part of the product information file 3-2 of this embodiment and specification information stored in the specification information file 3-3 31 has a serial number, specification format, specification description, and comment, and the specification format is F1 to F for input file designation and 01 to OL for output file designation.

データ定義指定のり、〜DM、処理定義指定のP、〜P
Nの何れかを有している。
Data definition specification glue, ~DM, processing definition specification P, ~P
It has either N.

また、仕様情報31の仕様形式および仕様記述の一例を
示す入力ファイル仕様例32は、仕様形式として入力フ
ァイル指定のFlを有し、仕様記述としてファイル名称
の得意先マスク、ファイルIDのTOKU I−MST
、ファイル編成を示す編成のR,レコード長の512.
プロツキ、ング7yクタを示すBLKの1.キーのTO
K−CDなどを有している。
Input file specification example 32, which shows an example of the specification format and specification description of the specification information 31, has an input file designation Fl as the specification format, a customer mask of the file name, and a TOKU I- of the file ID as the specification description. MST
, the organization R indicating the file organization, and the record length 512.
BLK's 1. Key TO
It has K-CD etc.

同様に、出力ファイル仕様例33は、仕様形式として出
力ファイル指定のOlを有し、仕様記述としてファイル
名称の売掛台帳、ファイルIDのFURIKAKE、フ
ァイル編成を示す編成の一、レコード長の200.ブロ
ッキングファクタを示すBLKの1.格納された装置を
示す装置のPRNなどを有している。
Similarly, output file specification example 33 has the output file specification OL as the specification format, the account receivable ledger as the file name, FURIKAKE as the file ID, the organization 1 indicating the file organization, and the record length as 200. 1 of BLK indicating blocking factor. It has a device PRN indicating the stored device.

同様に、データ定義仕様例34は、仕様形式としてデー
タ定義仕様指定のDlを有し、仕様記述としてデータ定
義名称の在庫回転率、データ属性のS1桁数の3.2.
初期値のZEROを有している。
Similarly, the data definition specification example 34 has a data definition specification designation Dl as the specification format, an inventory turnover rate of the data definition name, and 3.2.
It has an initial value of ZERO.

同様に、処理定義仕様例35は、仕様形式として処理定
義指定のPlを有し、仕様記述として処理名称の在庫回
転率、処理内容の2行に渡る記述である売上数量÷((
前月末在庫数十当月末在庫数)÷2)を有している。
Similarly, processing definition specification example 35 has a process definition designation Pl as a specification format, an inventory turnover rate as a process name, and a sales quantity ÷ (((
The number of stocks at the end of the previous month is 10, the number of stocks at the end of the current month) ÷ 2).

そこで、中央処理装置1で動作するソフトウェアである
プログラム自動生成手段1−3は、入力制御手段1−1
で入力情報を判断することによりプログラムの自動生成
が指示されたとき、仕様情報生成手段1−2で生成した
仕様情報に、あらがじめ記憶装置3のプログラム生成規
則ファイル3−4に格納されているプログラム生成規則
を適用して、自動的に作成プログラムを生成して、生成
した作成プログラムを記憶装置3のプログラムファイル
3−5に格納している。
Therefore, the program automatic generation means 1-3, which is software operating on the central processing unit 1,
When automatic generation of a program is instructed by determining input information, the specification information generated by the specification information generation means 1-2 is stored in advance in the program generation rule file 3-4 of the storage device 3. A creation program is automatically generated by applying the program generation rules, and the generated creation program is stored in the program file 3-5 of the storage device 3.

第4図は本実施例のプログラム生成規則の一例を示す情
報説明図である。
FIG. 4 is an information explanatory diagram showing an example of the program generation rule of this embodiment.

第4図に示すように、本実施例のプログラム生成規則フ
ァイル3−4に格納されているプログラム生成規則41
は、一連番号、生成方式ID、プログラム生成規則記述
、コメントを有しており、その生成方式IDは、入力フ
ァイル指定のF、出力ファイル指定の0.データ定義指
定のり、処理定義指定のPの何れかを有している。
As shown in FIG. 4, the program generation rule 41 stored in the program generation rule file 3-4 of this embodiment
has a sequence number, generation method ID, program generation rule description, and comment, and its generation method ID is F for input file specification and 0 for output file specification. It has either P for data definition designation or processing definition designation.

また、プログラム生成規則41の生成方式IDおよびプ
ログラム生成規則記述の一例を示すプログラム生成規則
記述例42は、生成する対象領域例、ファイル定義ソー
スの生成規則例、ファイル記述定義の生成規則例、ファ
イルに関連するワークエリアの生成規則例、ファイルの
0PENに関する生成規則例を示している。
In addition, a program generation rule description example 42 showing an example of the generation method ID and program generation rule description of the program generation rule 41 includes an example of a target area to be generated, an example of a file definition source generation rule, an example of a file description definition generation rule, a file An example of a work area generation rule related to , and an example of a generation rule related to 0PEN of a file are shown.

第5図は本実施例の作成プログラムの一例を示す情報説
明図である。
FIG. 5 is an information explanatory diagram showing an example of the creation program of this embodiment.

第5図に示すように、本実施例のプログラムファイル3
−5に格納する作成プログラム51は、一連番号、プロ
グラム記述を有している。
As shown in FIG. 5, the program file 3 of this embodiment
The creation program 51 stored in -5 has a serial number and a program description.

例えば、第3図の入力ファイル仕様例32に、第4図の
プログラム生成規則記述例42の先頭部分を適用するこ
とにより、自動的に次の作成プログラムが生成される。
For example, by applying the first part of the program generation rule description example 42 in FIG. 4 to the input file specification example 32 in FIG. 3, the following creation program is automatically generated.

/FILE−CTL SELECT FI ASSIGN To MSDOR
GANI2ATION RELATIVE^CCESM
ODE 5EQUENTIALさらに、中央処理装置1
で動作するソフトウェアである仕様情報併合プログラム
生成手段1−4は、入力制御手段1−1で入力情報を判
断することにより仕様情報とプログラムとの併合が指示
されたとき、プログラム自動生成手段】−3で生成した
作成プログラムをプログラムファイル3−5から読出す
とともに、仕様情報生成手段1−2で生成した対応する
仕様情報を仕様情報ファイル3−3から読出して、読出
した仕様情報を読出した作成プログラムの注記行に挿入
して併合した仕様情報併合プログラムをプロダクト情報
ファイル3−2に格納している。
/FILE-CTL SELECT FI ASSIGN To MSDOR
GANI2ATION RELATIVE^CCESM
ODE 5EQUENTIAL Furthermore, central processing unit 1
The specification information merging program generation means 1-4, which is software operated by the input control means 1-1, automatically generates a program when the input control means 1-1 instructs to merge the specification information and the program by determining the input information. Creation in which the creation program generated in step 3 is read from the program file 3-5, the corresponding specification information generated by the specification information generation means 1-2 is read from the specification information file 3-3, and the read specification information is read out. The specification information merging program inserted into the note line of the program and merged is stored in the product information file 3-2.

第6図は本実施例の作成プログラムの一例を示す情報説
明図である。
FIG. 6 is an information explanatory diagram showing an example of the creation program of this embodiment.

第6図に示すように、本実施例のプロダクト情報ファイ
ル3−2に格納する仕様情報併合プログラム61は、一
連番号、仕様情報併合プログラム記述を有しており、そ
の仕様情報併合プログラム記述は、注記行に第3図に示
す内容と同じ内容の仕様形式および仕様情報62を、そ
の他の行に第5図に示す内容と同じ内容の作成プログラ
ム記述63を有している。
As shown in FIG. 6, the specification information merging program 61 stored in the product information file 3-2 of this embodiment has a serial number and a specification information merging program description, and the specification information merging program description is as follows: The note line has a specification format and specification information 62 with the same content as shown in FIG. 3, and the other lines have a creation program description 63 with the same content as shown in FIG.

一方、中央処理装置1で動作するソフトウェアである仕
様情報出力手段1−5は、入力制御手段1−1で入力情
報を判断することにより仕様書の出力が指示されたとき
、仕様情報併合プログラム生成手段1−4で格納した仕
様情報併合プログラムをプロダクト情報ファイル3−2
から読出して、作成プログラムの注記行にある仕様情報
を抽出して仕a!書形式で出力装置4のプリンタに出力
している。
On the other hand, the specification information output means 1-5, which is software operating on the central processing unit 1, generates a specification information merging program when the input control means 1-1 is instructed to output a specification by determining the input information. The specification information merging program stored in means 1-4 is stored in the product information file 3-2.
Read from , extract the specification information in the note line of the created program, and do a! It is output to the printer of the output device 4 in a book format.

以上述べたように、本実施例のプログラムおよび仕様書
の生成修正方式は、仕様書から自動的にプログラムを生
成することにより、プログラムとその仕様書とを一体化
して、プログラムとその仕様書との不一致を防ぎ、ソフ
トウェアの品質を向上させることができる。
As described above, the program and specification generation/modification method of this embodiment automatically generates a program from the specification, thereby integrating the program and its specification. can prevent discrepancies and improve software quality.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のプログラムおよび仕様書
の生成修正方式は、仕様書がら自動的にプログラムを生
成することにより、プログラムとその仕様書とを一体化
して、プログラムとその仕様書との不一致を防ぎ、ソフ
トウェアの品質を向上させることができるという効果を
有している。
As explained above, the program and specification generation/modification method of the present invention automatically generates a program from the specification, integrates the program and its specification, and integrates the program and its specification. This has the effect of preventing discrepancies and improving the quality of software.

この結果、本発明のプログラムおよび仕様書の生成修正
方式では、ソフトウェアの開発業務における重要な要素
であるソフトウェアの保守、過去に開発したソフトウェ
アの再利用、開発済ソフトウェアの顎客向はカストマイ
ズ作業などに対する生産性を大幅に向上することができ
るという効果がある。
As a result, the program and specification generation/modification method of the present invention is useful for software maintenance, which is an important element in software development work, reuse of previously developed software, and customization work for customers of already developed software. This has the effect of significantly improving productivity.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のプログラムおよび仕様書の生成修正方
式の一実施例を示すブロック図、第2図は本実施例の共
通仕様情報の一例を示す情報説明図、第3図は本実施例
の仕様情報の一例を示す情報説明図、第4図は本実施例
のプログラム生成規則の一例を示す情報説明図、第5図
は本実施例の作成プログラムの一例を示す情報説明図、
第6図は本実施例の作成プログラムの一例を示す情報説
明図である。 l・・・・・・中央処理装置、1−1・・・・・・入力
制御手段、1−2・・・・・・仕様情報生成手段、1−
3・・・・・・プログラム自動生成手段、1−4・・・
・・・仕様情報併合プログラム生成手段、1−5・・・
・・・仕様情報出力手段、2・・・・・・入力表示装置
、3・・・・・・記憶装置、3−1・・・・・・共通仕
様情報ファイル、3−2・・・・・・プロダクト情報フ
ァイル、3−3・・・中性様情報ファイル、3−4・・
・・・・プログラム生成規則ファイル、3−5・・・・
・・プログラムファイル、4・・・・・・出力装置、2
1・・・・・・共通仕様情報、22・・・・・・ファイ
ル仕様例、23・・・・・・データ定義仕様例、24・
・・・・・処理定義仕様例、31・・・・・・仕様情報
、32・・・・・・入力ファイル仕様例、33・・・・
・・出力ファイル仕様例、34・・・・・・データ定義
仕様例、35・・・・・・処理定義仕様例、41・・・
・・・プログラム生成規則、42・旧・・プログラム生
成規則記述例、51・旧・・作成プログラム、61・・
・・・・仕様情報併合プログラム、62・・・・・・仕
様形式および仕様情報、63・・・・・・作成プログラ
ム記述。
Fig. 1 is a block diagram showing an example of the program and specification generation/modification method of the present invention, Fig. 2 is an information explanatory diagram showing an example of common specification information of this embodiment, and Fig. 3 is an example of this embodiment. 4 is an information explanatory diagram showing an example of the program generation rule of this embodiment. FIG. 5 is an information explanatory diagram showing an example of the creation program of this embodiment.
FIG. 6 is an information explanatory diagram showing an example of the creation program of this embodiment. l...Central processing unit, 1-1...Input control means, 1-2...Specification information generation means, 1-
3...Program automatic generation means, 1-4...
...Specification information merging program generation means, 1-5...
... Specification information output means, 2 ... Input display device, 3 ... Storage device, 3-1 ... Common specification information file, 3-2 ... ...Product information file, 3-3...Neutral-like information file, 3-4...
...Program generation rule file, 3-5...
...Program file, 4...Output device, 2
1... Common specification information, 22... File specification example, 23... Data definition specification example, 24.
...Processing definition specification example, 31...Specification information, 32...Input file specification example, 33...
... Output file specification example, 34... Data definition specification example, 35... Processing definition specification example, 41...
...Program generation rules, 42.Old...Program generation rule description example, 51.Old...Creation program, 61..
... Specification information merging program, 62 ... Specification format and specification information, 63 ... Creation program description.

Claims (1)

【特許請求の範囲】 (A)コンピュータのプログラムおよび仕様書に関する
生成と修正とのために、入力表示装置の表示部に入力メ
ニューや入力案内を表示することにより、前記入力表示
装置の入力部から種々の入力情報を入力させる入力制御
手段、 (B)前記入力制御手段で入力情報を判断することによ
り仕様情報の入力が指示されたとき、あらかじめ共通仕
様情報ファイルに格納されているファイル仕様、データ
定義仕様、処理仕様を含む様々なプログラムで共通に使
用できる共通仕様情報およびプロダクト情報ファイルの
一部に格納されている既に作成済の仕様情報を、前記入
力制御手段からの入力情報により選択して使用し、前記
入力制御手段からの入力情報を用いて内容の追加および
修正を行って、作成プログラムの仕様情報を生成し、生
成した仕様情報を仕様情報ファイルに格納する仕様情報
生成手段、 (C)前記入力制御手段で入力情報を判断することによ
りプログラムの自動生成が指示されたとき、前記仕様情
報生成手段で生成した仕様情報に、あらかじめプログラ
ム生成規則ファイルに格納されているプログラム生成規
則を適用して、自動的に作成プログラムを生成して、生
成した作成プログラムをプログラムファイルに格納する
プログラム自動生成手段、 (D)前記入力制御手段で入力情報を判断することによ
り仕様情報とプログラムとの併合が指示されたとき、前
記プログラム、自動生成手段で生成した作成プログラム
を前記プログラムファイルから読出すとともに、前記仕
様情報生成手段で生成した対応する仕様情報を前記仕様
情報ファイルから読出して、読出した仕様情報を読出し
た作成プログラムの注記行に挿入して併合した仕様情報
併合プログラムを前記プロダクト情報ファイルに格納す
る仕様情報併合プログラム生成手段、 (E)前記入力制御手段で入力情報を判断することによ
り仕様書の出力が指示されたとき、前記仕様情報併合プ
ログラム生成手段で格納した仕様情報併合プログラムを
前記プロダクト情報ファイルから読出して、作成プログ
ラムの注記行にある仕様情報を抽出して仕様書形式で出
力装置に出力する仕様情報出力手段、 を備えることを特徴とするプログラムおよび仕様書の生
成修正方式。
[Scope of Claims] (A) In order to generate and modify computer programs and specifications, by displaying an input menu and input guide on the display section of the input display device, the input section of the input display device can be used to generate and modify computer programs and specifications. an input control means for inputting various input information; (B) when input of specification information is instructed by determining input information by the input control means, file specifications and data stored in advance in a common specification information file; Common specification information that can be commonly used by various programs, including definition specifications and processing specifications, and already created specification information stored in a part of the product information file are selected by input information from the input control means. (C ) When automatic generation of a program is instructed by determining input information by the input control means, applying a program generation rule stored in a program generation rule file in advance to the specification information generated by the specification information generation means. (D) merging specification information and the program by determining input information by the input control means; When instructed, the program, the creation program generated by the automatic generation means is read from the program file, and the corresponding specification information generated by the specification information generation means is read from the specification information file, and the read specifications are read out. (E) specification information merging program generation means for storing a specification information merging program inserted into the note line of the creation program from which the information was read and merged into the product information file; When an instruction is given to output a specification information merging program, the specification information merging program stored by the specification information merging program generation means is read from the product information file, and the specification information in the note line of the creation program is extracted and output in a specification form. A method for generating and modifying programs and specifications, comprising: means for outputting specification information to a device.
JP24802288A 1988-09-30 1988-09-30 Production/correction system for program and specifications Pending JPH0296228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24802288A JPH0296228A (en) 1988-09-30 1988-09-30 Production/correction system for program and specifications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24802288A JPH0296228A (en) 1988-09-30 1988-09-30 Production/correction system for program and specifications

Publications (1)

Publication Number Publication Date
JPH0296228A true JPH0296228A (en) 1990-04-09

Family

ID=17172039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24802288A Pending JPH0296228A (en) 1988-09-30 1988-09-30 Production/correction system for program and specifications

Country Status (1)

Country Link
JP (1) JPH0296228A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159074A (en) * 2008-02-04 2008-07-10 Nec Corp Program generating system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159074A (en) * 2008-02-04 2008-07-10 Nec Corp Program generating system and method

Similar Documents

Publication Publication Date Title
CA1313270C (en) Method and apparatus for forms generation
US20030204637A1 (en) Method and apparatus for generating compilable application programs
US5212634A (en) Method of and apparatus for automatically generating application program
JPH0296228A (en) Production/correction system for program and specifications
JPH08221417A (en) New/old comparing editing device for structured document
JP2005055951A (en) Program generation device and method, program, and storage medium
JP3553762B2 (en) Document processing device
JP3554056B2 (en) Software specification reuse support device
JPH06110910A (en) Slip preparing method, slip processing method, and slip preparation processing system
JP7160432B2 (en) Image processing device, image processing method, program
JPH04290126A (en) Input/output format customizing method
JP2010157165A (en) Information processor, information processing method, and program
JP3446472B2 (en) Object model generation method and apparatus
KR940002483B1 (en) Method and apparatus for file recovery
JPH11212694A (en) Information processing system
CN117853279A (en) Online contract signing method, device, equipment and medium
JP3663633B2 (en) Slip processing equipment
CA3232563A1 (en) Systems and methods for automated intuitive document editing
Kottman Coping with Vendor Supplied Ebook & Streaming Video MARC Records
JPS62217320A (en) List compilation processing system
JP2011154575A (en) Automatic program generation device
JPH0926874A (en) Automatically generating system for asset correction history
JPH0713752A (en) Control method/device for program revision
JPH04178729A (en) Automatic generating system for document format and document output program
JPH01113854A (en) Information processor