JPH04171532A - Program creating device using pattern - Google Patents

Program creating device using pattern

Info

Publication number
JPH04171532A
JPH04171532A JP30008590A JP30008590A JPH04171532A JP H04171532 A JPH04171532 A JP H04171532A JP 30008590 A JP30008590 A JP 30008590A JP 30008590 A JP30008590 A JP 30008590A JP H04171532 A JPH04171532 A JP H04171532A
Authority
JP
Japan
Prior art keywords
program
coding
skeleton
section
unit
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
JP30008590A
Other languages
Japanese (ja)
Inventor
Isao Takano
高野 功
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 JP30008590A priority Critical patent/JPH04171532A/en
Publication of JPH04171532A publication Critical patent/JPH04171532A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the working efficiency of a program creating device by adding the own-coding operations to a program skeleton and then reflecting the necessary ones of those added own-coding operations onto the program skeleton that is created again. CONSTITUTION:The own-coding operations are added to a program skeleton obtained by customizing a program pattern and then the necessary ones of those added own-coding operations are reflected on the program skeleton obtained by customizing again the program pattern. Under such conditions, an own-coding creating part 106 is provided to control the creation of the processing (own-coding operation) property to a user together with an own- coding succession part 107, an editing buffer part 109, an own-coding control part 112, a skeleton holding part 105, etc. Thus a program developer can edit the own-coding operations for each function and the working efficiency is improved for development of a program when the program pattern is customized again.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムパターンを利用したプログラム作
成装置、特にパターンカストマイズシステムにおいて、
プログラムパターンをカストマイズして生成したプログ
ラムスケルトンにオウンコーディングを追加した後に再
度プログラムノくターンをカストマイズして生成したプ
ログラムスケルトンに対して、先に追加したオウンコー
ディングの中で必要なものを反映することを可能にする
パターン利用によるプログラム作成装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a program creation device using a program pattern, particularly a pattern customization system.
After adding own coding to the program skeleton generated by customizing the program pattern, reflect what is necessary in the previously added own coding to the program skeleton generated by customizing the program turn again. The present invention relates to a program creation device using patterns that makes it possible to create programs using patterns.

〔従来の技術〕[Conventional technology]

プログラムの制御構造が予め作成されているプログラム
パターンを使用してプログラムを作成する方式は従来よ
り広く用いられている。またプログラムパターンにある
程度のカストマイズするための情報をもたせて、プログ
ラム開発者が開発する業務に固有の内容にプログラムパ
ターンを基にしてカストマイズすることにより目的とす
るプログラムスケルトンを生成するパターンカストマイ
ズシステムをプログラム開発支援装置として用いてプロ
グラム開発することは有効である。
2. Description of the Related Art Conventionally, a method of creating a program using a program pattern in which a program control structure is created in advance has been widely used. In addition, a pattern customization system is created in which a program pattern is provided with information for customization to a certain extent, and a program developer generates a target program skeleton by customizing the program pattern based on the content specific to the work being developed. It is effective to develop programs using it as a development support device.

しかし、従来のパターンカストマイズシステムにおいて
は、プログラムパターンをカストマイズしてプログラム
スケルトンを生成した後、別のテキストエディタ等で利
用者固有の処理ロジックを追加して完全なプログラムソ
ースを作成する方式C発明が解決しようとする課題〕 上述した従来のパターン利用によるプログラム作成方式
は、プログラムスケルトンを生成する手段の利用者固有
の処理ロジックを追加する手段は別々であり両者の関係
はとられていないので、プログラムスケルトンを生成し
テキストエディタ等で利用者固有の処理ロジックを追加
した後に、再度プログラムパターンのカストマイズを実
施した場合にはプログラム開発者が先に追加した処理ロ
ジックを洗いだし新たなプログラムスケルトンに反映す
るか否かを判断した後複写しなげればならず追加した機
能と処理ロジックの関係を自らが管理しておく必要があ
るという問題点があった。
However, in the conventional pattern customization system, the invention of Method C involves customizing the program pattern to generate a program skeleton, and then adding user-specific processing logic using another text editor etc. to create a complete program source. Problems to be Solved] In the conventional program creation method using patterns described above, the means for generating a program skeleton and the means for adding user-specific processing logic are separate, and there is no relationship between the two. If you customize the program pattern again after generating a skeleton and adding user-specific processing logic using a text editor, etc., the program developer will identify the processing logic that was added earlier and reflect it in the new program skeleton. There is a problem in that it is necessary to copy the added functions after determining whether or not the added functions are added, and it is necessary to manage the relationship between the added functions and the processing logic by oneself.

本発明のパターン利用によるプログラム作成装置は、プ
ログラムパターンをカストマイズして生成したプログラ
ムスケルトンにオウンコーディングを追加した後に再度
プログラムパターンをカストマイズして生成したプログ
ラムスケルトンに対して、先に追加したオウンコーディ
ングの中で必要なものを反映することを可能にすること
を目的とする。
The program creation device using patterns of the present invention adds own coding to a program skeleton generated by customizing a program pattern, and then adds own coding that was previously added to a program skeleton generated by customizing the program pattern again. The purpose is to enable you to reflect what you need inside.

〔課題を解決するための手段〕 本発明の装置は、プログラムの制御構造が予め作成され
ているプログラムパターンに対して、業務固有の内容に
より特殊化(以下、カストマイズと称す)することによ
り業務に合ったソースプログラムの骨組(以下、プログ
ラムスケルトンと称す)を生成するパターンカストマイ
ズシステムにおけるパターン利用によるプログラム作成
装置において、プログラムスケルトンに対して利用者固
有の処理(以下、オウンコーディングと称す)の作成を
制御するオウンコーディング作成部と、前記オウンコー
ディングを追加した後に再度プログラムパターンをカス
トマイズする必要が生じたときに、新たに生成したプロ
グラムスケルトンに前記旧プロクラムスケルトン中に作
成したオウンコーディングを反映することを制御するオ
ウンコーディング引継部と、前記オウンコーディング作
成部の下で、スケルトン保持部に保持されているプログ
ラムスケルトンを読み込み出力する読込部と、前記読込
部より出力されたプログラムスケルトンを編集するため
に蓄えるメモリ等の編集バッファ部と、前記編集バッフ
ァ部中のプログラムスケルトンに追加するオウンコーデ
ィングについて機能を表す機能説明文を作成するかもし
くは処理ロジックを作成するかを判断し、それぞれに対
応するエディタに制御を渡すエディツト判別部と、前記
エディツト判別部からの制御を受けて、プログラムスケ
ルトンに追加するオウンコーディングの機能を表す機能
説明文を作成編集し出力する説明文エディツト部と、同
じく前記エデイ”/)判別部からの制御を受けて、プロ
グラムスケルトンに前記作成した機能説明文に対応した
処理ロジックを追加し、さらに処理ロジックを追加した
位置を判断する行番号等の位置情報を出力するコードエ
ディツト部と、前記説明文エディツト部より出力された
機能説明文と、前記コードエディツト部より出力された
プログラムスケルトン中の追加した処理ロジックの位置
情報を対応付けて管理するオウンコーディング管理部と
、前記オウンコーディングぢ1継部の下で、前記オウン
コーディング管理部に管理されている機能説明文を一覧
として表示する機能一覧表示部と、新しく生成されたプ
ログラムスケルトンに反映する前記オウンコーディング
を当該機能一覧より選択する選択部と、当該選択された
機能説明文に対応する処理ロジックの反映位置を前記オ
ウンコーディング管理部より抽出する位置抽出部と、抽
出した処理ロジックを反映する位置情報と同じ位置情報
を持つ処理ロジックを前記編集バッファ部より抽出し、
前記スケルトン保持部に保持されている新しいプログラ
ムスケルトンに複写する複写部とを有することを特徴と
する。
[Means for Solving the Problems] The device of the present invention has a program control structure that can be adapted to a business by specializing (hereinafter referred to as "customizing") content specific to the business for a program pattern that has been created in advance. In a program creation device using patterns in a pattern customization system that generates a suitable source program framework (hereinafter referred to as program skeleton), a user-specific process (hereinafter referred to as own coding) is created for the program skeleton. An own coding creation unit to control, and a function to reflect the own coding created in the old program skeleton in the newly generated program skeleton when it becomes necessary to customize the program pattern again after adding the own coding. an own coding takeover unit that controls; a reading unit that reads and outputs a program skeleton held in a skeleton holding unit under the own coding creation unit; and a reading unit that stores the program skeleton output from the reading unit for editing. Determine whether to create a function description expressing the function or create processing logic for the editing buffer section such as memory and own coding added to the program skeleton in the editing buffer section, and control the editor corresponding to each. an explanatory text editing section that creates, edits, and outputs a function explanatory text representing the own coding function to be added to the program skeleton under the control of the edit discriminating section; A code editing section that adds processing logic corresponding to the function description created above to the program skeleton under control from the determination section, and outputs positional information such as a line number for determining the position at which the processing logic is added. an own coding management section that manages the function explanation outputted from the explanatory text editing section and the position information of the added processing logic in the program skeleton outputted from the code editing section; Under the coding part 1, there is a function list display part that displays the function descriptions managed by the own coding management part as a list, and a function list display part that displays the own coding to be reflected in the newly generated program skeleton from the function list. A selection part to select, a position extraction part to extract a reflection position of the processing logic corresponding to the selected function description from the own coding management part, and a position information having the same position information as the position information to reflect the extracted processing logic. Extracting the processing logic from the editing buffer section,
and a copying section for copying to a new program skeleton held in the skeleton holding section.

〔実施例〕〔Example〕

以下、本発明を図面を参照して説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

〔構成〕〔composition〕

第1図は本発明の一実施例の構成、第2図は第1図に示
したオウンコーディング作成部106の処理説明図、第
3図は第1図に示したオウンコーディング引継部107
の処理説明図を示す。
FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 is an explanatory diagram of the processing of the own coding creation section 106 shown in FIG. 1, and FIG. 3 shows the own coding takeover section 107 shown in FIG. 1.
A processing explanatory diagram is shown.

〔機能〕〔function〕

第1図において、入出力部101は、パターンカストマ
イズシステムと利用者とのインタフェースを司どるワー
クステーションなどの装置である。
In FIG. 1, an input/output unit 101 is a device such as a workstation that controls the interface between the pattern customization system and the user.

制御部102は、パターンカストマイズ部104やオウ
ンコーディング作成部106およびオウンコーディング
引継部107すなわちパターンカストマイズシステム全
体の制御を司どる。
The control unit 102 controls the pattern customization unit 104, the own coding creation unit 106, and the own coding transfer unit 107, that is, the entire pattern customization system.

入出力部101よりパターンのカストマイズ指示を受け
てパターンカストマイズ部104は、パターン保持部1
03に保持されているプログラムの制御構造が予め作成
されているプログラムパターンを読み込み、プログラム
パターンを業務固有の内容により特殊化(以下、カスト
マイズと称す)して業務に合ったソースプログラムの骨
格(以下、プログラムスケルトンと称す)を生成し、ス
ケルトン保持部105に保持する。
Upon receiving a pattern customization instruction from the input/output unit 101, the pattern customizing unit 104 sends the pattern to the pattern holding unit 1.
The control structure of the program held in 03 is read in from a program pattern that has been created in advance, and the program pattern is specialized (hereinafter referred to as customization) according to business-specific contents to create a source program skeleton (hereinafter referred to as "customization") that is suitable for the business. , a program skeleton) is generated and held in the skeleton holding unit 105.

次に、入出力部101よりプログラムスケルトンに対し
て利用者固有の処理(以下、オウンコーディングと称す
)の追加作成指示を受けて、オウンコーディング作成部
106ではまず、読込部108がスケルトン保持部10
5に保持されているプログラムスケルトンを読み込みメ
モリ等の編集バッファ部109へ出力する。
Next, upon receiving an instruction to add user-specific processing (hereinafter referred to as own coding) to the program skeleton from the input/output unit 101, the own coding creation unit 106 first reads the reading unit 108 from the skeleton holding unit 10.
The program skeleton held in 5 is read and output to an editing buffer unit 109 such as a memory.

オウンコーディングの作成は処理目的となる機能単位に
行われるため、次にエディツト判別部110では入出力
部101より処理機能の説明文もしくは処理ロジックの
どちらを作成するかの指示を受けて対応するエディツト
部へ制御を移す。
Since own coding is created for each function that is the purpose of processing, the edit determination unit 110 receives an instruction from the input/output unit 101 to create an explanation of the processing function or processing logic, and then creates the corresponding edit. transfer control to the department.

すなわち処理機能の説明文を作成するときは説明文エデ
ィツト部111へ制御を移し、処理ロジックを作成する
ときはコードエディツト部113へ制御を移す。
That is, when creating an explanatory text for a processing function, control is transferred to the explanatory text editing section 111, and when creating a processing logic, control is transferred to the code editing section 113.

説明文エディツト部111ではオウンコーディングとし
て追加する処理の機能を説明する説明文の編集を司どり
オウンコーディング管理部112へ当該機能説明文を出
力し保管する。コードエディツト部113では説明文エ
ディツト部111で作成した機能説明文を実現するため
に必要な処理ロジックを、前記編集バッファ部109に
保持されているプログラムスケルトンに対して追加し、
さらに処理ロジックを追加した位置情報、例えば行番号
等をオウンコーディング管理部112に管理されている
機能説明文に対応付けて出力する。
The explanatory text editing section 111 manages the editing of an explanatory text explaining the function of the process to be added as own coding, and outputs the functional explanatory text to the own coding management section 112 for storage. The code editing section 113 adds processing logic necessary to realize the function explanation created by the explanation editing section 111 to the program skeleton held in the editing buffer section 109.
Furthermore, positional information to which processing logic has been added, for example, line numbers, etc., is output in association with the function description managed by the own coding management unit 112.

このようにプログラムスケルトンに対してオウンコーデ
ィングを機能単位に追加し、目的とするプログラムを作
成した後に、プログラムパターンをカストマイズする要
件に変更が発生した場合(例えば業務固有の内容に変更
が生じたときなど)、再度プログラムをカストマイズし
なければならずその結果新たなプログラムスケルトンが
生成されることになる。この新たなプログラムスケルト
ンに対して先に追加したオウンコープインクを反映する
手段をオウンコーディング引継部107は司どる。
In this way, after adding own coding to the program skeleton for each function and creating the target program, if the requirements for customizing the program pattern change (for example, when the content specific to the business changes) ), the program must be customized again, resulting in a new program skeleton being generated. The own coding takeover unit 107 is responsible for reflecting the previously added own corporation ink to this new program skeleton.

入出力部101より、再度プログラムパターンをカスト
マイズした結果得られた新たなプログラムスケルトンに
対して既に作成したオウンコーディングを反映する指示
を受けて、オウンコーディング引継部107では、まず
機能一覧表示部114がオウンコーディング管理部11
2に管理されている処理機能の説明文を読み込み、入出
力部1(Illへ一覧表として表示し、選択部115へ
制御を移す。
Upon receiving an instruction from the input/output unit 101 to reflect the already created own coding to a new program skeleton obtained as a result of customizing the program pattern again, the own coding transfer unit 107 first displays the function list display unit 114. Own coding management department 11
The explanatory text of the processing functions managed by 2 is read, displayed as a list in the input/output unit 1 (Ill), and control is transferred to the selection unit 115.

選択部115では入出力部101に表示されている一覧
表より利用者が選択した処理機能の説明文を受は取り位
置抽出部116へ出力する。位置抽出部116では受は
取った処理の機能説明文に対応する処理ロジックと処理
ロジックを反映する位置情報を前記オウンコーディング
管理部112より検出し、複写部117へ受は渡す。複
写部117においてスケルトン保持部105に保持され
ている前記新たなプログラムスケルトン中に当該処理ロ
ジックを挿入する。
The selection unit 115 outputs the explanatory text of the processing function selected by the user from the list displayed on the input/output unit 101 to the receiving position extraction unit 116. The position extraction unit 116 detects from the own coding management unit 112 the processing logic corresponding to the function explanatory text of the process taken by the receiver, and the position information reflecting the processing logic, and passes the detection information to the copying unit 117. The copying unit 117 inserts the processing logic into the new program skeleton held in the skeleton holding unit 105.

〔動作〕〔motion〕

まず第2図を用いてオウンコーディング作成部106を
中心にした本実施例のオウンコーディング作成の動作を
説明する。
First, with reference to FIG. 2, the operation of creating own coding in this embodiment, centering on own coding creating section 106, will be explained.

第2図に示すステップ201によりスケルトン保持部1
05に保持されているプログラムパターンをカストマイ
ズした結果生成されたプログラムスケルトンを読み込み
、ステップ202でメモリ等の編集バッファ部109に
圧力しプログラムスケルトンに対する処理ロジックの追
加に備える。
By step 201 shown in FIG.
The program skeleton generated as a result of customizing the program pattern held in 05 is read, and in step 202, pressure is applied to the editing buffer unit 109 such as a memory to prepare for adding processing logic to the program skeleton.

次に入出力101より利用者からのオウンコーディング
の作成指示を受は取り、ステップ204でオウンコーデ
ィングの機能を表す処理説明文の作成か否かを判断し、
真のときはステップ205へ制御を移し偽のときはステ
ップ207へ制御を移す。
Next, an instruction to create own coding is received from the user through the input/output 101, and in step 204, it is determined whether or not to create a process description expressing the function of own coding.
If true, control is transferred to step 205; if false, control is transferred to step 207.

ステップ205では処理機能を説明する説明文をメモリ
等に作成しスナップ206にて作成した説明文をオウン
コーディング管理部112へ出力しておく。一方、ステ
ップ207では先の利用者からの指示がオウンコーディ
ングの機能を実現するための処理ロジックの作成かもし
くはオウンコーディング作成の終了かを判断し、前者の
ときはステップ208へ制御を移す。ステップ208で
は先に作成した処理機能の説明文に対応した処理ロジッ
クを編集バッファ部109に保持されているプログラム
スケルトンに追加作成する。追加した処理ロジックはス
テップ209でその追加位置(例えば行番号など)が抽
出され、ステップ210で、邑該処理ロジックとその位
置情報をオウンコーディング管理部112に出力し、先
に作成した処理機能の説明文に対応付けて管理される状
態となる。
In step 205, an explanatory text explaining the processing function is created in a memory or the like, and the created explanatory text is outputted to the own coding management section 112 in the snap 206. On the other hand, in step 207, it is determined whether the previous instruction from the user is to create processing logic for realizing the own coding function or to end own coding creation, and in the former case, control is transferred to step 208. In step 208, processing logic corresponding to the previously created explanatory text of the processing function is added to the program skeleton held in the editing buffer unit 109. The additional position (for example, line number, etc.) of the added processing logic is extracted in step 209, and in step 210, the processing logic and its position information are output to the own coding management unit 112, and the processing function created earlier is It will be managed in association with the explanatory text.

次に、第3図を用いてオウンコーディング引継部107
を中心にした本実施例のオウンコーディング引き継ぎの
動作を説明する。
Next, using FIG. 3, the own coding takeover unit 107
The operation of own coding handover in this embodiment will be explained with a focus on.

第2図に示したようにプログラムスケルトンに対してオ
ウンコーディングが追加された状態で、再度プログラム
パターンをカストマイズしてスケルトン保持部105に
新たなプログラムスケルトンを生成した場合に第3図に
示すステップ301によりオウンコーディング管理部1
12に管理されているすべての処理機能の説明文を入力
し、ステップ302にて入出力部101へ一覧表として
利用者に明示する。
Step 301 shown in FIG. 3 when a new program skeleton is generated in the skeleton holding unit 105 by customizing the program pattern again with own coding added to the program skeleton as shown in FIG. Own Coding Management Department 1
Explanations of all the processing functions managed in step 12 are input, and in step 302, the input/output section 101 displays them as a list to the user.

続いてステップ303では一覧表として表示されている
処理機能の説明文の中から新たなプログラムスケルトン
に反映すべきものの選択を促進し、ステップ304で選
択された説明文を認識した後ステップ305に制御を移
す。ステップ305では一覧表の中から選択された処理
機能の説明文に対応するすべての処理ロジックの位置情
報をオウンコーディング管理部112より検出した後、
ステップ306でその位置情報をもつ編集バッファ部1
09に格納されているプログラムスケルトンの処理ロジ
ックを抽出する。ステップ307で抽出した処理ロジッ
クをスケルトン保持部105に格納されている新たなプ
ログラムスケルトンの対応する位置に複写挿入する。
Next, in step 303, the selection of the explanation text of the processing function displayed as a list to be reflected in the new program skeleton is promoted, and after the selected explanation text is recognized in step 304, control is executed in step 305. move. In step 305, after the own coding management unit 112 detects the position information of all the processing logics corresponding to the description of the processing function selected from the list,
In step 306, edit buffer section 1 having the position information
The processing logic of the program skeleton stored in 09 is extracted. The processing logic extracted in step 307 is copied and inserted into the corresponding position of the new program skeleton stored in the skeleton holding unit 105.

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

以上説明したように本発明は、プログラムパターンをカ
ストマイズして生成したプログラムスケルトンにオウン
コーディングを追加した後に再度プログラムパターンを
カストマイズして生成したプログラムスケルトンに対し
て、先に追加したオウンコーディングの中で必要なもの
を反映することを可能にするのでプログラム開発者はオ
ウンコーディングを機能単位に編集することができ、ま
た機能説明文により新しいプログラムスケルトンに反映
するか否かを判断するだけでよいため、再パターンカス
トマイズを実施したときのプログラム開発の作業効率の
向上が図られる。
As explained above, the present invention adds own coding to a program skeleton generated by customizing a program pattern, and then adds own coding to a program skeleton generated by customizing the program pattern again. Since it is possible to reflect what is necessary, program developers can edit own coding for each function, and they only need to judge whether to reflect it in a new program skeleton based on the function description. It is possible to improve the work efficiency of program development when re-pattern customization is performed.

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

第1図は本発明の一実施例に係るパターン利用によるプ
ログラム作成装置の全体構成を示すブロック図、第2図
は第1図に示したオウンコーディング作成部106の処
理説明図、第3図は第1図に示したオウンコーディング
引継部107の処理説明図である。 101・・・・・・入出力部、102・・・・・・制御
部、103・・・・・・パター”i保持部、lO4・・
・・・・パターンカストマイズ部、105・・・・・・
スケルトン保持部、106・・・・・・オウンコーディ
ング作成部、1o7・旧・・オウンコーディング引継部
、108・・・・・・読込部、109・・・・・・編集
バッファ部、110・・・・・・エディツト判別部、1
11・・・・・・説明文エディツト部、112・・印・
オウンコーディング管理部、113・・・・・・コード
エディツト部、114・・・・・・機能一覧表示部、1
15・・・・・・選択部、116・・・・・・位置抽出
部、117・旧・・複写部。 代理人 弁理士  内 原   音 第   1   図 第   2   図
FIG. 1 is a block diagram showing the overall configuration of a program creation device using patterns according to an embodiment of the present invention, FIG. 2 is a process explanatory diagram of the own coding creation unit 106 shown in FIG. 1, and FIG. FIG. 2 is a process explanatory diagram of the own coding takeover unit 107 shown in FIG. 1. FIG. 101...Input/output section, 102...Control section, 103...Putter"i holding section, lO4...
...Pattern customization department, 105...
Skeleton holding unit, 106... Own coding creation unit, 1o7 Old... Own coding transfer unit, 108... Reading unit, 109... Edit buffer unit, 110... ...Edit discrimination section, 1
11...Explanatory text editing section, 112...mark...
Own coding management section, 113... Code editing section, 114... Function list display section, 1
15... Selection section, 116... Position extraction section, 117 Old... Copying section. Agent Patent Attorney Uchihara Oto No. 1 Fig. 2

Claims (1)

【特許請求の範囲】 プログラムの制御構造が予め作成されているプログラム
パターンに対して、業務固有の内容により特殊化(カス
トマイズ)することにより業務に合ったソースプログラ
ムの骨組(プログラムスケルトン)を生成するパターン
カストマイズシステムにおけるパターン利用によるプロ
グラム作成装置において、 プログラムスケルトンに対して利用者固有の処理(オウ
ンコーディング)の作成を制御するオウンコーディング
作成部と、 前記オウンコーディングを追加した後に再度プログラム
パターンをカストマイズする必要が生じたときに、新た
に生成したプログラムスケルトンに前記旧プログラムス
ケルトン中に作成したオウンコーディングを反映するこ
とを制御するオウンコーディング引継部と、前記オウン
コーディング作成部の下で、スケルトン保持部に保持さ
れているプログラムスケルトンを読み込み出力する読込
部と、 前記読込部より出力されたプログラムスケルトンを編集
するために蓄えるメモリ等の編集バッファ部と、 前記編集バッファ部中のプログラムスケルトンに追加す
るオウンコーディングについて機能を表す機能説明文を
作成するかもしくは処理ロジックを作成するかを判断し
、それぞれに対応するエディタに制御を渡すエディット
判別部と、 前記エディット判別部からの制御を受けて、プログラム
スケルトンに追加するオウンコーディングの機能を表す
機能説明文を作成編集し出力する説明文エディット部と
、 同じく前記エディット判別部からの制御を受けて、プロ
グラムスケルトンに前記作成した機能説明文に対応した
処理ロジックを追加し、さらに処理ロジックを追加した
位置を判断する行番号等の位置情報を出力するコードエ
ディット部と、前記説明文エディット部より出力された
機能説明文と、前記コードエディット部より出力された
プログラムスケルトン中の追加した処理ロジックの位置
情報を対応付けて管理するオウンコーディング管理部と
、 前記オウンコーディング引継部の下で、前記オウンコー
ディング管理部に管理されている機能説明文を一覧とし
て表示する機能一覧表示部と、新しく生成されたプログ
ラムスケルトンに反映する前記オウンコーディングを当
該機能一覧より選択する選択部と、 当該選択された機能説明文に対応する処理ロジックの反
映位置を前記オウンコーディング管理部より抽出する位
置抽出部と、 抽出した処理ロジックを反映する位置情報と同じ位置情
報を持つ処理ロジックを前記編集バッファ部より抽出し
、前記スケルトン保持部に保持されている新しいプログ
ラムスケルトンに複写する複写部とを有し、 プログラムパターンをカストマイズして生成したプログ
ラムスケルトンにオウンコーディングを追加した後に再
度プログラムパターンをカストマイズして生成したプロ
グラムスケルトンに対して、先に追加したオウンコーデ
ィングの中で必要なもを反映することを特徴としたパタ
ーン利用によるプログラム作成装置。
[Claims] A program pattern in which a program control structure is created in advance is specialized (customized) according to business-specific contents to generate a source program skeleton (program skeleton) suitable for the business. A program creation device using patterns in a pattern customization system includes an own coding creation unit that controls the creation of user-specific processing (own coding) for a program skeleton, and a program pattern customization unit that re-customizes the program pattern after adding the own coding. When the need arises, an own coding takeover unit controls the reflection of the own coding created in the old program skeleton in a newly generated program skeleton, and a skeleton holding unit under the own coding creation unit. A reading unit that reads and outputs a held program skeleton; an editing buffer unit such as memory that stores memory for editing the program skeleton output from the reading unit; and own coding that is added to the program skeleton in the editing buffer unit. an edit determination unit that determines whether to create a function explanatory statement expressing the function or create processing logic, and passes control to the corresponding editor; and, under control from the edit determination unit, a program skeleton An explanatory text editing section that creates, edits, and outputs a functional explanatory statement representing the own coding function to be added; and also under control from the edit discrimination section, adds processing logic corresponding to the created functional explanatory text to the program skeleton. a code editing section that outputs position information such as a line number for determining the position where processing logic is added; a function explanation output from the explanatory text editing section; and a program output from the code editing section. An own coding management section that associates and manages positional information of added processing logic in the skeleton, and a function that displays a list of function descriptions managed by the own coding management section under the own coding takeover section. a list display section, a selection section for selecting the own coding to be reflected in the newly generated program skeleton from the function list, and a selection section for selecting the reflection position of the processing logic corresponding to the selected function description from the own coding management section. a position extracting section for extracting the processing logic; and a copying section for extracting the processing logic having the same positional information as the positional information reflecting the extracted processing logic from the editing buffer section and copying it to the new program skeleton held in the skeleton holding section. After adding own coding to the program skeleton generated by customizing the program pattern, the necessary ones from the previously added own coding are added to the program skeleton generated by customizing the program pattern again. A program creation device using patterns characterized by reflection.
JP30008590A 1990-11-06 1990-11-06 Program creating device using pattern Pending JPH04171532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30008590A JPH04171532A (en) 1990-11-06 1990-11-06 Program creating device using pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30008590A JPH04171532A (en) 1990-11-06 1990-11-06 Program creating device using pattern

Publications (1)

Publication Number Publication Date
JPH04171532A true JPH04171532A (en) 1992-06-18

Family

ID=17880525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30008590A Pending JPH04171532A (en) 1990-11-06 1990-11-06 Program creating device using pattern

Country Status (1)

Country Link
JP (1) JPH04171532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268299A (en) * 2005-03-23 2006-10-05 Ns Solutions Corp Software development support system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268299A (en) * 2005-03-23 2006-10-05 Ns Solutions Corp Software development support system

Similar Documents

Publication Publication Date Title
CA2145678C (en) Command system
KR100498529B1 (en) Introspective editor system, program, and method for software translation
JPH05346875A (en) Automation testing system for computer application software
JPH07219736A (en) Creation method of multimedia application business
JP2000040005A (en) Program converting device
KR900006667B1 (en) Program assembling system
JPH04171532A (en) Program creating device using pattern
CN101110028A (en) System and methods for generating runtime messages
JP2009059203A (en) Customization device for image processing function, customization method for image processing function, and program for customizing image processing function
US20220164183A1 (en) Code review system with development environment integration
JPH06274333A (en) Input support method and editing support method for program
EP0642076A1 (en) A data processing system
JP3672207B2 (en) Program converter
JP2007094453A (en) Program development support system, program development support method and program
JP3150889B2 (en) Software development support method and apparatus
CN116756196B (en) Method and plug-in for rapidly editing Makefile
JP3187317B2 (en) Interactive program generation device
KR20100045637A (en) Apparatus for executing multilingual application and control method thereof
JP2000089945A (en) Integrated software development support system
CN115421702A (en) Method for realizing code development of dynamic form
KR940008474B1 (en) Debugging system and control method of program developing apparatus
JPH10105387A (en) Sdl/program code mutual conversion system
CN114968242A (en) Front-end code generation method and device
CN110825470A (en) Application program language localization method and device, electronic equipment and storage medium
JPH09185499A (en) Method and device for generating interactive program