JPH05197539A - Matching system for program source code - Google Patents
Matching system for program source codeInfo
- Publication number
- JPH05197539A JPH05197539A JP4006805A JP680592A JPH05197539A JP H05197539 A JPH05197539 A JP H05197539A JP 4006805 A JP4006805 A JP 4006805A JP 680592 A JP680592 A JP 680592A JP H05197539 A JPH05197539 A JP H05197539A
- Authority
- JP
- Japan
- Prior art keywords
- program
- matching
- source code
- compiler
- development environment
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
(57)【要約】
【目的】 実行環境と異なる開発環境で開発されたプロ
グラムのデバッグを適確かつ効率的に行うために開発環
境上のコンパイラを使用して実行環境上のプログラム記
述言語仕様に基づいて開発されたプログラムを開発環境
上のコンパイラ仕様に整合させるプログラムソースコー
ドの整合方式を提供する。
【構成】 UNIX−WS10の分散開発環境上で作成
されたソースプログラムをプログラム記述言語仕様に基
づいてチェック部31でチェック修正し、この修正され
たソースプログラムに対して、整合情報部32の整合情
報に基づいて整合対象ソースコードを検出し、この検出
した整合対象ソースコードを変換する処理をコンバート
部33で行い、開発環境上のコンパイラ仕様に整合させ
る。
(57) [Summary] [Purpose] To properly and efficiently debug a program developed in a development environment different from the execution environment, use the compiler in the development environment to specify the program description language specifications in the execution environment. A matching method of program source code that matches a program developed based on the compiler specifications on the development environment is provided. [Structure] A source program created in the distributed development environment of UNIX-WS10 is checked and corrected by a check unit 31 based on a program description language specification, and matching information of a matching information unit 32 is applied to the corrected source program. The source code for matching is detected based on the above, and the conversion unit 33 performs a process of converting the detected source code for matching to match with the compiler specifications on the development environment.
Description
【0001】[0001]
【産業上の利用分野】本発明は、プログラムが実際に動
作する実行環境と異なる開発環境上のコンパイラを使用
して実行環境上のプログラム記述言語仕様に基づいて開
発されたプログラムを開発環境上のコンパイラ仕様に整
合させるプログラムソースコードの整合方式に関し、更
に詳しくは、プログラムが実際に動作する例えば汎用大
型計算機のような実行環境と異なるパソコンやワークス
テーション等の開発環境で分散開発されたプログラムを
分散開発環境において適確にデバッグ等を行うために該
プログラムのソースコードを開発環境上のコンパイラ仕
様に整合させるプログラムソースコードの整合方式に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides a program developed on the development environment using a compiler on the development environment different from the execution environment in which the program actually operates, based on the program description language specifications on the execution environment. For more details on the program source code matching method that matches the compiler specifications, distribute the programs that have been distributed and developed in a development environment such as a personal computer or workstation that is different from the execution environment in which the programs actually operate, such as a general-purpose large-scale computer. The present invention relates to a program source code matching method for matching the source code of the program with the compiler specifications on the development environment in order to perform accurate debugging and the like in the development environment.
【0002】[0002]
【従来の技術】近年、各種業務のオンラインシステム化
が進められており、これらのシステムで使用するオンラ
イン業務処理プログラムが大量に開発されており、今後
も一層の増加が予想されることから、オンライン業務処
理プログラムの生産性向上が最重要課題となっている。2. Description of the Related Art In recent years, an online system for various kinds of work has been advanced, and a large amount of online work processing programs used in these systems have been developed. Improving the productivity of business processing programs is the most important issue.
【0003】このような状況にあって、オンライン業務
処理プログラムの開発環境はこれまでオンライン業務処
理プログラムが実際に動作するメインフレーマの汎用計
算機上で機種及びOSに合わせた開発環境で行われてい
たが、開発要員の不足や地価高騰などにより、従来のよ
うな1ヶ所での集中した開発が困難になってきている。
そこで、現在は、これらを解消し、オンライン業務処理
プログラム開発の要求に応えていくために実行環境に依
存しない分散開発環境の整備が行われており、システム
の拡張性、経済性、操作性等に優れているワークステー
ション(WS)を中心とする分散開発環境の構築が主流
となりつつある。In such a situation, the development environment of the online business processing program has hitherto been performed on the general-purpose computer of the main framer on which the online business processing program actually operates in the development environment suitable for the model and the OS. However, due to lack of development personnel and soaring land prices, it has become difficult to perform concentrated development in one place as in the past.
Therefore, in order to solve these problems and respond to the demand for online business processing program development, a distributed development environment that does not depend on the execution environment is currently in place, and system scalability, economy, operability, etc. It is becoming mainstream to build a distributed development environment centered on excellent workstations (WS).
【0004】こうした分散開発環境における大規模シス
テム用オンライン業務処理プログラムの開発では、要求
仕様分析、設計等の上流工程から単体試験工程までが行
われる。一般に、単体試験工程では開発環境上に用意さ
れたシンボリックデバッガを利用するが、これには開発
環境上でこのシンボリックデバッガに対応するコンパイ
ラを用いて被試験オンライン業務処理プログラムのオブ
ジェクトを予め生成しておくことが必要である。In the development of an online business processing program for a large-scale system in such a distributed development environment, upstream processes such as required specification analysis and design to a unit test process are performed. Generally, in the unit test process, the symbolic debugger prepared in the development environment is used.In this, the compiler for the symbolic debugger is used in the development environment to generate the objects of the online business processing program under test in advance. It is necessary to set.
【0005】また、オンライン業務処理プログラムの移
植、流用によるオンライン業務処理プログラム生産性向
上を図るため、実行環境上のコンパイラの仕様に対して
アーキテクチャに依存するような移植阻害要因を排除し
たオンライン業務処理プログラム記述言語仕様を規定
し、その記述言語仕様の範囲でオンライン業務処理プロ
グラムソースコーディングを行う方策の採用も一般的に
なっている。しかし、本オンライン業務処理プログラム
記述言語仕様を遵守するか否かはプログラマーに委ねら
れることとなり移植性の保証が確実でない。移植性を保
証するための技術としては、UNIXのlintあるい
は市販製品の「Cコーディング診断システム」等のチェ
ックツールがあるが、これらはいずれもC言語記述のソ
ースコードを対象としている。Further, in order to improve the productivity of the online business processing program by porting and diverting the online business processing program, online business processing that eliminates the port obstruction factor that depends on the architecture for the specifications of the compiler in the execution environment. It is also common to adopt a method of defining a program description language specification and performing online business processing program source coding within the range of the description language specification. However, it is up to the programmer to decide whether or not to comply with this online business processing program description language specification, and the portability is not guaranteed. As a technique for guaranteeing portability, there are check tools such as UNIX lints or commercially available products such as "C coding diagnostic system", and these are all targeted for the source code described in C language.
【0006】大規模なオンラインシステムのオンライン
業務処理プログラム記述言語は依然としてCOBOL言
語が多く使用されているが、現状、UNIX−WS上の
COBOL言語用開発支援ツールは、C言語用のそれと
比してツール品揃えもプアーであり、かつ日本語が未サ
ポートである等により操作性、作業効率の点で劣ってい
る。The COBOL language is still widely used as the online business processing program description language for large-scale online systems. At present, however, the development support tool for the COBOL language on UNIX-WS is more than that for the C language. Poor tool assortment and lack of support for Japanese, it is inferior in operability and work efficiency.
【0007】[0007]
【発明が解決しようとする課題】上述のオンライン業務
処理プログラム開発における分散開発およびオンライン
業務処理プログラム記述言語仕様規定を考えた場合(特
に開発環境としてUNIX−WS、プログラム言語とし
てCOBOL)、下記の問題がある。In consideration of the distributed development and online business processing program description language specification in the above-mentioned online business processing program development (especially UNIX-WS as a development environment and COBOL as a programming language), the following problems are encountered. There is.
【0008】オンライン業務処理プログラムは最終的に
実行環境上で走行するため、オンライン業務処理プログ
ラム記述言語仕様は原則として実行環境上のコンパイラ
の仕様のサブセットであることから、オンライン業務処
理プログラム記述言語仕様(実行環境上のコンパイラの
仕様)と開発環境上のコンパイラの仕様とは通常一致し
ていない。特にCOBOL言語ではメモリ割付の最適化
オプション指定等の実行環境に依存した指定があるのが
一般的である。このためオンライン業務処理プログラム
記述言語仕様に準拠してコーディングされたオンライン
業務処理プログラムであっても開発環境上のコンパイル
でエラーが発生してオブジェクトが正しく生成されず、
シンボリックデバッガを用いたオンライン業務処理プロ
グラムの単体の試験が出来ないことがある。Since the online business processing program finally runs on the execution environment, the online business processing program description language specification is, in principle, a subset of the compiler specifications on the execution environment. The specification of the compiler on the execution environment does not usually match the specification of the compiler on the development environment. In particular, in the COBOL language, it is general that there are specifications depending on the execution environment such as optimization options for memory allocation. Therefore, even an online business processing program coded according to the online business processing program description language specifications will generate an error when compiling in the development environment and the object will not be generated correctly.
It may not be possible to test a single unit of an online business processing program that uses a symbolic debugger.
【0009】これを解決するには、各環境上のコンパイ
ラ仕様間の不整合部分を各プログラマーが認識して、オ
ンライン業務処理プログラム単体試験に際しては開発環
境のコンパイラ仕様に合致するようにソースコードを手
作業で修正し、単体試験を終了したオンライン業務処理
プログラムを実行環境へ移行する時は実行環境のコンパ
イラ仕様に合致するように手作業でソースコード修正を
する必要があり、このような結果ソースコード修正に伴
うプログラマー負担増だけでなく、単体試験終了後のオ
ンライン業務処理プログラムへのソース修正および修正
に伴う人為的ミス混入等によるプログラム品質の低下等
の問題があった。To solve this, each programmer recognizes the inconsistency between the compiler specifications on each environment, and when the online business processing program unit test is performed, the source code is changed so as to match the compiler specifications of the development environment. When migrating an online business processing program that has been manually modified and finished unit testing to the execution environment, it is necessary to manually modify the source code to match the compiler specifications of the execution environment. Not only was the programmer's burden increased due to the code modification, but there was also a problem such as the deterioration of the program quality due to the source modification to the online business processing program after the unit test and the inclusion of human error accompanying the modification.
【0010】なお、これに関しては、棟上昭男監訳によ
る「コンピュータ大百科」(朝倉書店、1988年)3
3頁、または、中原、加藤共編による「システムズエン
ジニアハンドブック」(オーム社刊、平成3年)162
〜189頁の記載を参考にすることができる。Regarding this, "Computer Encyclopedia" by Akio Munekami (Asakura Shoten, 1988) 3
Page 3, or "Systems Engineer Handbook" edited by Nakahara and Kato (Ohmsha, 1991) 162
The description on page 189 can be referred to.
【0011】本発明は、上記に鑑みてなされたもので、
その目的とするところは、実行環境と異なる開発環境で
開発されたプログラムのデバッグを適確かつ効率的に行
うために開発環境上のコンパイラを使用して実行環境上
のプログラム記述言語仕様に基づいて開発されたプログ
ラムを開発環境上のコンパイラ仕様に整合させるプログ
ラムソースコードの整合方式を提供することにある。The present invention has been made in view of the above,
The purpose is to use a compiler on the development environment to properly and efficiently debug a program developed in a development environment different from the execution environment, based on the program description language specifications on the execution environment. It is to provide a method of matching a program source code that matches a developed program with a compiler specification on a development environment.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するた
め、本発明のプログラムソースコードの整合方式は、プ
ログラムが実際に動作する実行環境と異なる開発環境上
のコンパイラを使用して実行環境上のプログラム記述言
語仕様に基づいて開発されたプログラムを開発環境上の
コンパイラ仕様に整合させるプログラムソースコードの
整合方式であって、前記プログラム記述言語仕様に準拠
してプログラムがソースコーディングされているか否か
をチェックし、プログラム記述言語仕様に準拠していな
い場合には適確に準拠するように修正する修正手段と、
前記プログラム記述言語仕様と開発環境上のコンパイラ
仕様との整合情報を記憶する整合情報記憶手段と、前記
修正手段で修正されたソースプログラムに対して前記整
合情報に基づいて整合対象ソースコードを検出し、この
検出した整合対象ソースコードに開発環境上のコンパイ
ラ仕様に整合させる整合手段とを有することを要旨とす
る。In order to achieve the above object, the program source code matching method of the present invention uses a compiler in a development environment different from the execution environment in which the program actually operates, in the execution environment. A program source code matching method for matching a program developed based on a program description language specification with a compiler specification on a development environment, and checking whether the program is source coded according to the program description language specification. Corrective means to check and correct so that if it does not comply with the program description language specifications,
Matching information storage means for storing matching information between the program description language specification and the compiler specification on the development environment; and a matching target source code for the source program modified by the modifying means based on the matching information. The gist is to have a matching means for matching the detected matching source code with the compiler specifications on the development environment.
【0013】[0013]
【作用】本発明のプログラムソースコードの整合方式で
は、開発環境上で作成されたソースプログラムをプログ
ラム記述言語仕様に基づいてチェック修正し、この修正
されたソースプログラムから整合情報に基づいて整合対
象ソースコードを検出し、この検出した整合対象ソース
コードを開発環境上のコンパイラ仕様に整合させる。According to the program source code matching method of the present invention, the source program created on the development environment is checked and modified based on the program description language specifications, and the matching target source is based on the matching information from the modified source program. The code is detected and the detected matching source code is matched with the compiler specifications on the development environment.
【0014】[0014]
【実施例】以下、図面を用いて本発明の実施例を説明す
る。Embodiments of the present invention will be described below with reference to the drawings.
【0015】図1は、本発明の一実施例に関わるプログ
ラムソースコードの整合方式の構成を示すブロック図で
ある。同図に示すプログラムソースコードの整合方式
は、例えば大型汎用計算機6などの実行環境で使用され
るオンライン業務処理プログラムを一例としてUNIX
−WS10からなる分散開発環境上でそのコンパイラを
使用しながら実行環境上のプログラム記述言語使用に基
づいて開発して、該オンライン業務処理プログラムのソ
ースプログラムを作成するとともに、この作成されたソ
ースプログラムのオンライン業務処理プログラムに対す
るデバッグ等の単体試験を行うために実行環境上のプロ
グラム記述言語仕様と分散開発環境上のコンパイラ仕様
との差分である整合情報に基づいてオンライン業務処理
プログラムの整合対象ソースコードを開発環境上のコン
パイラ仕様に整合させるものであり、オンライン業務処
理プログラムの対象業務を分析/設計する支援ツール1
1、オンライン業務処理プログラムのソースプログラム
を作成するために使用されるエディタ1、作成されたオ
ンライン業務処理プログラムのソースプログラムを格納
するファイル格納エリア2、実行環境上のプログラム記
述言語仕様と分散開発環境上のコンパイラ仕様との差分
である整合情報を記憶しておき、この整合情報に基づい
てオンライン業務処理プログラムのソースプログラムの
整合対象ソースコードを検出し、この検出した整合対象
ソースコードを開発環境上のコンパイラ仕様に整合させ
るプログラムソースコード整合ツール3、コンパイラ
4、シンボリックテバッガ5から構成されている。FIG. 1 is a block diagram showing a configuration of a program source code matching system according to an embodiment of the present invention. The matching method of the program source code shown in the figure is, for example, UNIX as an example of an online business processing program used in an execution environment of a large-scale general-purpose computer 6
-Development based on the use of the program description language in the execution environment while using the compiler in the distributed development environment consisting of WS10 to create a source program of the online business processing program, and to create the source program of the created source program. In order to perform a unit test such as debugging for the online business processing program, the matching target source code of the online business processing program is calculated based on the matching information which is the difference between the program description language specification on the execution environment and the compiler specification on the distributed development environment. A support tool for analyzing / designing the target business of an online business processing program, which is designed to match the compiler specifications on the development environment 1
1, an editor 1 used to create a source program for an online business processing program, a file storage area 2 for storing the source program of the created online business processing program, a program description language specification on the execution environment and a distributed development environment The matching information that is the difference from the above compiler specification is stored, the matching target source code of the source program of the online business processing program is detected based on this matching information, and the detected matching target source code is used in the development environment. It is composed of a program source code matching tool 3, a compiler 4, and a symbolic debugger 5 which are matched with the compiler specification of.
【0016】また、前記ファイル格納エリア2は、変換
前オンライン業務処理プログラムソースファイル21、
変換後オンライン業務処理プログラムソースファイル2
2、オンライン業務処理プログラムオブジェクトファイ
ル23から構成され、前記プログラムソースコード整合
ツール3は、チェック部31、整合情報部32、コンバ
ート部33、MMI部34から構成されている。なお、
図1において、実線は制御の流れを示し、点線はデータ
の流れを示している。Further, the file storage area 2 is a pre-conversion online business processing program source file 21,
Post-conversion online business processing program source file 2
2. The online business processing program object file 23 is included, and the program source code matching tool 3 includes a check unit 31, a matching information unit 32, a converting unit 33, and an MMI unit 34. In addition,
In FIG. 1, the solid line shows the flow of control and the dotted line shows the flow of data.
【0017】次に、図2に示すフローチャートを参照し
て全体の流れを説明する。Next, the overall flow will be described with reference to the flow chart shown in FIG.
【0018】まず、オンライン業務処理プログラムの対
象業務の分析、設計を行い(ステップ100,20
0)、それから分散開発環境上のコンパイラを使用して
ソースコーディングを行い、ソースプログラムを作成す
る(ステップ300)。ソースプログラムが作成される
と、その単体試験を前記シンボリックデバッガ5を使用
して行う(ステップ400)。なお、ステップ300,
400の処理は図3を参照して詳細に説明する。First, the target business of the online business processing program is analyzed and designed (steps 100, 20).
0), and then source coding is performed using a compiler on the distributed development environment to create a source program (step 300). When the source program is created, its unit test is performed using the symbolic debugger 5 (step 400). Note that step 300,
The process of 400 will be described in detail with reference to FIG.
【0019】分散開発環境上での単体試験が終了する
と、試験の終了したソースプログラムを実行環境上の大
型汎用計算機6に移行して、結合試験および総合試験を
行う(ステップ500,600)。When the unit test in the distributed development environment is completed, the source program whose test has been completed is transferred to the large-scale general-purpose computer 6 in the execution environment, and the integration test and comprehensive test are performed (steps 500 and 600).
【0020】次に、図3に示すフローチャートを参照し
て、前記ステップ300,400における処理を詳細に
説明する。Next, the processing in steps 300 and 400 will be described in detail with reference to the flow chart shown in FIG.
【0021】オンライン業務処理プログラム開発者はエ
ディタ1を使用してオンライン業務処理プログラムをコ
ーディングしてソースプログラムを作成し、ファイル格
納エリア2の変換前オンライン業務処理プログラムソー
スファイル21へ一旦格納する(ステップ310)。The online business processing program developer uses the editor 1 to code the online business processing program to create a source program, and temporarily stores it in the pre-conversion online business processing program source file 21 in the file storage area 2 (step 310).
【0022】次に、プログラムソースコード整合ツール
3を起動し、変換前オンライン業務処理プログラムソー
スファイル21中のソースプログラムを入力して、チェ
ック部31により該プログラムのソースコードがオンラ
イン業務処理プログラム記述言語仕様に準拠しているか
否かをチェックし、チェック結果をMMI部34を介し
て画面表示あるいはリスト出力する(ステップ32
0)。Next, the program source code matching tool 3 is activated, the source program in the pre-conversion online business processing program source file 21 is input, and the source code of the program is checked by the check unit 31 to be the online business processing program description language. It is checked whether or not it conforms to the specifications, and the check result is displayed on the screen or output as a list via the MMI unit 34 (step 32).
0).
【0023】オンライン業務処理プログラム開発者はこ
のチェック結果にしたがって、チェックOKになるまで
必要に応じてエディタ2を使用してソースコードの修正
を繰り返す(ステップ330,340)。チェックOK
になった時点でチェック部31はMMI部34を介して
オンライン業務処理プログラム開発者にチェックOKの
旨を通知し、オンライン業務処理プログラム開発者の指
示にしたがって該ソースプログラムを変換前オンライン
業務処理プログラムソースファイル21へ格納してから
コンバート部33に制御を渡す(ステップ350)。According to the check result, the online business processing program developer repeats the correction of the source code using the editor 2 as necessary until the check is OK (steps 330 and 340). Check OK
When it becomes, the check unit 31 notifies the online business processing program developer of the check OK through the MMI unit 34, and the source program is converted to the pre-conversion online business processing program according to the instruction of the online business processing program developer. After storing in the source file 21, control is passed to the converting unit 33 (step 350).
【0024】コンバート部33は変換前オンライン業務
処理プログラムソースファイル21中のソースプログラ
ムに対して、予め整合情報部32に設定された整合情報
に基づいて変換対象のソースコードを自動検出し、この
ソースコードを自動変換し、変換後のソースプログラム
を変換後オンライン業務処理プログラムソースファイル
22に格納して処理を終了する(ステップ360)。The converting unit 33 automatically detects the source code to be converted from the source program in the pre-conversion online business processing program source file 21 on the basis of the matching information set in the matching information unit 32 in advance. The code is automatically converted, the converted source program is stored in the converted online business processing program source file 22, and the processing is terminated (step 360).
【0025】オンライン業務処理プログラム開発者はオ
ンライン業務処理プログラムの単体試験を実施するた
め、コンパイラ4を起動して変換後オンライン業務処理
プログラムソースファイル22に格納されたソースプロ
グラムに対してコンパイルを行い、オンライン業務処理
プログラムのオブジェクトを生成し、オンライン業務処
理プログラムオブジェクトファイル23に格納し(ステ
ップ370)、引き続いてシンボリックデバッガ5を起
動してオンライン業務処理プログラムオブジェクトファ
イル23中のオンライン業務処理プログラムオブジェク
トを対象として単体試験を実施する(ステップ40
0)。試験結果がOKになるまで、必要に応じて上記手
順を繰り返す(ステップ410)。In order to carry out a unit test of the online business processing program, the developer of the online business processing program activates the compiler 4 to compile the source program stored in the converted online business processing program source file 22, The object of the online business processing program is generated and stored in the online business processing program object file 23 (step 370), and subsequently the symbolic debugger 5 is activated to target the online business processing program object in the online business processing program object file 23. As a unit test (step 40)
0). The above procedure is repeated as necessary until the test result is OK (step 410).
【0026】試験完了により該オンライン業務処理プロ
グラムを実行環境へ移行する場合は、変換前オンライン
業務処理プログラムソースファイル21に格納されたソ
ースプログラムをそのまま、格納媒体あるいは通信回線
を経由して移行する(ステップ420)。When the online business processing program is transferred to the execution environment due to the completion of the test, the source program stored in the pre-conversion online business processing program source file 21 is directly transferred via the storage medium or the communication line ( Step 420).
【0027】上記実施例によれば、分散開発環境におい
てプログラムソースコード整合ツール3を使用すること
により、手作業によるソースコード修正が不要になり、
作業効率およびプログラム品質の低下を回避できる。According to the above embodiment, by using the program source code matching tool 3 in the distributed development environment, it becomes unnecessary to manually modify the source code,
It is possible to avoid deterioration of work efficiency and program quality.
【0028】また、オンライン業務処理プログラム開発
の効率化だけでなく下記のような利点もある。In addition to improving the efficiency of online business processing program development, there are the following advantages.
【0029】使用する開発環境のコンパイラの仕様お
よびオンライン業務処理プログラム記述言語仕様の組み
合わせに対応した変換情報を整合情報部32に登録する
ことで任意の仕様の組み合わせに対するソースコード整
合が可能である。By registering the conversion information corresponding to the combination of the specifications of the compiler of the development environment to be used and the specifications of the online business processing program description language in the matching information section 32, the source code can be matched to any combination of the specifications.
【0030】プログラムソースコード整合ツール3の
入力および出力インターフェースは標準のソース形式と
することより、任意のエディタ、任意のコンパイラと組
み合わせて使用することが可能であり、ベンダーツール
からの独立性を確保できる。The input and output interfaces of the program source code matching tool 3 can be used in combination with any editor and any compiler by adopting a standard source format, and independence from the vendor tool can be secured. it can.
【0031】プログラムソースコード整合ツール3自
体も標準Cおよび処理系非依存な関数によってプログラ
ミングしておくことにより、開発環境のWS機種との独
立性が確保できる。By programming the program source code matching tool 3 itself by the standard C and the function independent of the processing system, independence from the WS model of the development environment can be secured.
【0032】COBOL記述オンライン業務処理プロ
グラム開発の場合、現状WS上のコンパイラは日本語の
未サポートによりコンパイルエラー等のメッセージが英
語表示されるので、オンライン業務処理プログラム作業
者にとって操作性等作業効率の点で問題がある。しか
し、チェック部31を使用すればコンパイル作業で検出
されるコーディングエラー程度のエラーはチェックアウ
トされ、日本語でチェック結果等が出力されるので、チ
ェック結果にしたがって容易にソース修正ができる。ま
た、チェックOKのソースプログラムでコンパイルエラ
ーが検出されることは通常考えられないので、コンパイ
ラの日本語未サポートによる作業効率低下を回避でき
る。In the case of COBOL description online business processing program development, since the compiler on the current WS does not support Japanese, messages such as compile errors are displayed in English. There is a problem in terms. However, if the check unit 31 is used, errors such as coding errors detected in the compilation work are checked out, and the check result and the like are output in Japanese, so the source can be easily corrected according to the check result. In addition, since it is usually unlikely that a compile error is detected in the check-OK source program, it is possible to avoid a reduction in work efficiency due to the compiler's lack of Japanese support.
【0033】なお、上記実施例は本発明の一実施例を示
すものであり、本発明はこれに限られるものでないこと
は言うまでもない。It is needless to say that the above embodiment is an embodiment of the present invention and the present invention is not limited to this.
【0034】[0034]
【発明の効果】以上説明したように、本発明によれば、
開発環境上で作成されたソースプログラムをプログラム
記述言語仕様に基づいてチェック修正し、この修正され
たソースプログラムから整合情報に基づいて整合対象ソ
ースコードを検出し、この検出した整合対象ソースコー
ドを開発環境上のコンパイラ仕様に整合させるので、従
来のような手作業によるソースコードの修正が不要とな
り、開発環境においても効率的かつ高い信頼性を持って
オンライン業務処理プログラムを開発することができ
る。As described above, according to the present invention,
The source program created in the development environment is checked and modified based on the program description language specifications, the matching target source code is detected from this modified source program based on the matching information, and the detected matching target source code is developed. Since it conforms to the compiler specifications in the environment, it is not necessary to manually modify the source code as in the conventional case, and the online business processing program can be developed efficiently and with high reliability even in the development environment.
【図1】本発明の一実施例に係わるプログラムソースコ
ードの整合方式の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a program source code matching system according to an embodiment of the present invention.
【図2】図1に示すプログラムソースコードの整合方式
の作用を示すフローチャートである。2 is a flowchart showing the operation of the program source code matching system shown in FIG. 1. FIG.
【図3】図1に示すプログラムソースコードの整合方式
の作用を示すフローチャートである。3 is a flowchart showing the operation of the program source code matching system shown in FIG. 1. FIG.
1 エディタ 2 ファイル格納エリア 3 プログラムソースコード整合ツール 4 コンパイラ 5 シンボリックデバッガ 6 大型汎用計算機(実行環境) 10 UNIX−WS(分散開発環境) 31 チェック部 32 整合情報部 33 コンバート部 34 MMI部 1 Editor 2 File Storage Area 3 Program Source Code Matching Tool 4 Compiler 5 Symbolic Debugger 6 Large General Purpose Computer (Execution Environment) 10 UNIX-WS (Distributed Development Environment) 31 Check Section 32 Consistency Information Section 33 Convert Section 34 MMI Section
Claims (1)
異なる開発環境上のコンパイラを使用して実行環境上の
プログラム記述言語仕様に基づいて開発されたプログラ
ムを開発環境上のコンパイラ仕様に整合させるプログラ
ムソースコードの整合方式であって、 前記プログラム記述言語仕様に準拠してプログラムがソ
ースコーディングされるいるか否かをチェックし、プロ
グラム記述言語仕様に準拠していない場合には適確に準
拠するように修正する修正手段と、 前記プログラム記述言語仕様と開発環境上のコンパイラ
仕様との整合情報を記憶する整合情報記憶手段と、 前記修正手段で修正されたソースプログラムに対して前
記整合情報に基づいて整合対象ソースコードを検出し、
この検出した整合対象ソースコードを開発環境上のコン
パイラ仕様に整合させる整合手段とを有することを特徴
とするプログラムソースコードの整合方式。1. A program for matching a program developed on the basis of a program description language specification on the execution environment with a compiler on the development environment different from the execution environment in which the program actually operates, to the compiler specification on the development environment. It is a source code matching method, and checks whether or not the program is source coded according to the program description language specification, and if it does not comply with the program description language specification, properly conforms. Modifying means for modifying, matching information storing means for storing matching information of the program description language specification and compiler specification on the development environment, and matching based on the matching information with respect to the source program modified by the modifying means Detect target source code,
A program source code matching method comprising: a matching means for matching the detected matching target source code with a compiler specification on a development environment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4006805A JPH05197539A (en) | 1992-01-17 | 1992-01-17 | Matching system for program source code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4006805A JPH05197539A (en) | 1992-01-17 | 1992-01-17 | Matching system for program source code |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05197539A true JPH05197539A (en) | 1993-08-06 |
Family
ID=11648412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4006805A Pending JPH05197539A (en) | 1992-01-17 | 1992-01-17 | Matching system for program source code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05197539A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009282584A (en) * | 2008-05-19 | 2009-12-03 | Nomura Research Institute Ltd | Software development management device |
KR20220033536A (en) * | 2020-09-07 | 2022-03-17 | 현대오토에버 주식회사 | Apparatus and method for generating functional specifications |
-
1992
- 1992-01-17 JP JP4006805A patent/JPH05197539A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009282584A (en) * | 2008-05-19 | 2009-12-03 | Nomura Research Institute Ltd | Software development management device |
KR20220033536A (en) * | 2020-09-07 | 2022-03-17 | 현대오토에버 주식회사 | Apparatus and method for generating functional specifications |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908394B (en) | Data exchange formatting source code generation method and device | |
CN111399853A (en) | Templated deployment method of machine learning model and custom operator | |
JPH08202545A (en) | Object-oriented system and method for generation of target language code | |
US6467082B1 (en) | Methods and apparatus for simulating external linkage points and control transfers in source translation systems | |
CN101866315B (en) | Test method and system of software development tool | |
US6618853B1 (en) | Program production system for semiconductor tester | |
US20070277165A1 (en) | Debugging Interpreted Input | |
US8533683B2 (en) | Stack walking enhancements using sensorpoints | |
JPH05197539A (en) | Matching system for program source code | |
CN112579470B (en) | Compiling and linking method and system for debugging dynamic software library | |
CN117931623A (en) | Semiconductor parameter testing method and system based on interpreted high-level language | |
JP5539921B2 (en) | Program development tools | |
US20040153803A1 (en) | Debug device, debug method and storage medium | |
CN113672239B (en) | Visual algorithm package development method based on language analysis | |
CN115599357B (en) | Method and device for converting programming language based on graphic element | |
JP4483163B2 (en) | Program test debugging device | |
JPH0510692B2 (en) | ||
JPH05134854A (en) | Software development supporting device | |
CN120162254A (en) | Test method, test device, electronic equipment and computer program product | |
CN114817061A (en) | Dependency error detection method for virtual build scripts | |
CN110928768A (en) | Program tracking method and system based on linux shared memory data mirror image | |
CN117931157A (en) | OTX language engine construction and editing method, device and computer equipment | |
JP2001147832A (en) | Display system corresponding to source program | |
CN112527574A (en) | Processor testing method, device, equipment and readable storage medium | |
JP2004054807A (en) | Information processing method and apparatus |