JPS63133229A - Source program correction system - Google Patents

Source program correction system

Info

Publication number
JPS63133229A
JPS63133229A JP61280037A JP28003786A JPS63133229A JP S63133229 A JPS63133229 A JP S63133229A JP 61280037 A JP61280037 A JP 61280037A JP 28003786 A JP28003786 A JP 28003786A JP S63133229 A JPS63133229 A JP S63133229A
Authority
JP
Japan
Prior art keywords
source program
correction
translation list
corrected
list
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.)
Granted
Application number
JP61280037A
Other languages
Japanese (ja)
Other versions
JPH0552966B2 (en
Inventor
Tsutomu Koga
古賀 務
Susumu Saito
進 斉藤
Kaoru Nakaya
仲谷 薫
Haruo Kawahara
河原 春夫
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61280037A priority Critical patent/JPS63133229A/en
Publication of JPS63133229A publication Critical patent/JPS63133229A/en
Publication of JPH0552966B2 publication Critical patent/JPH0552966B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To simplify a program correcting job with high accuracy by providing a source program correcting part to a programming back-up editor to perform the prescribed processing. CONSTITUTION:A programming back-up editor 6A contains a text editing part 7 and a source program correcting part 8. A language processor 1 supplies a source program 5 and stores a translation list 3 into a data set of a disk device 2. Then the part 7 corrects the list 3 and adds a correction indicator to a corrected statement. The part 8 searches the source statement of the program 5 corresponding to the corrected statement to which the correction indicator of the list 3 is added and replaces the statement. In such a way, a source program can be corrected simply and with high accuracy.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機システムにおけるソースプログラム
訂正処理方式に関し、特にソフトウェア開発工程におけ
るソースプログラム訂正操作を省力的、かつ、迅速に行
うに好適な、ソースプログラム訂正処理方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a source program correction processing method in an electronic computer system, and in particular, a method suitable for performing source program correction operations in a software development process labor-savingly and quickly. Concerning source program correction processing method.

従来の技術〕 従来の技術は、例えば、特開昭57−59247号公報
に開示されている如く、入力データをシステム入力型デ
ータに変換して出力する機能、入力データを表示し表示
データを修正する機能を設けることにより、プログラム
の改変やプログラムに渡すデータの改変を容易にするよ
うになっていた。
Conventional technology] Conventional technology, for example, as disclosed in Japanese Patent Application Laid-Open No. 57-59247, has a function of converting input data into system input type data and outputting it, and a function of displaying input data and correcting display data. By providing a function to do this, it became easier to modify the program and the data passed to the program.

これについて、以下、図面を用いて具体的に説明する。This will be specifically explained below using the drawings.

第5図はプログラミング支援エディタを含む電子計算機
システムの機能構成図であり、図において、1は言語プ
ロセッサ、3は該言語プロセッサ1から出力される翻訳
リスト、4はソースプログラム5を格納しているディス
ク装置、6はテキスト編集部7を含むプログラミング支
援エディタ、9は入出力用端末機、10は機械語プログ
ラムを保持するディスク装置を示している。
FIG. 5 is a functional configuration diagram of an electronic computer system including a programming support editor. In the figure, 1 is a language processor, 3 is a translation list output from the language processor 1, and 4 is a source program 5. A disk device 6 is a programming support editor including a text editing section 7, 9 is an input/output terminal, and 10 is a disk device that holds a machine language program.

上述の如く構成されたシステムにおけるソースプログラ
ム訂正処理は、利用者が、端末機9でプログラミング支
援エディタ6のテキスト編集部7を操作してソースプロ
グラム5を直接読出し、訂正(文字の修正2行の削除・
挿入9文字列の変更等)を行っていた。上記訂正操作は
、予め言語プロセッサ1の処理結果である翻訳リスト3
をプリンタ用紙に印刷し、これに訂正内容を記述し、こ
れに基づいて行うのが普通であった。
In the source program correction process in the system configured as described above, the user directly reads the source program 5 by operating the text editing section 7 of the programming support editor 6 on the terminal 9, and makes corrections (character corrections in two lines). delete·
(inserted 9 character strings, etc.). The above correction operation is performed in advance by using a translation list 3 which is a processing result of the language processor 1.
It was common practice to print the information on printer paper, write the corrections on it, and make corrections based on this.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上記従来技術によるソースプログラムの訂正作
業には、以下の如き問題があった。
However, the source program correction work according to the prior art described above has the following problems.

(1)翻訳リストをプリンタ用紙に印刷するため、用紙
等の消耗品が必要となること (2)印刷した翻訳リストの訂正該当個所に訂正内容を
記述し、それに基づいて端末機でプログラミング支援エ
ディタを操作してソースプログラムを訂正するという2
段階の工程があるが、これらは実質的に同じ作業の繰り
返しであること (3)上述の翻訳リストの訂正記述内容とプログラミン
グ支援エディタで訂正した内容とが相異するというミス
が発生することがあること本発明は上記事情に鑑みてな
されたもので、その目的とするところは、従来のソース
プログラム訂正処理方式における上述の如き問題を解消
し。
(1) Since the translation list is printed on printer paper, consumables such as paper are required. (2) Corrections are made in the printed translation list. Write the corrections in the appropriate places, and then use the programming support editor on the terminal based on the corrections. 2. Correct the source program by operating the
(3) There is a risk that mistakes will occur where the correction description in the translation list mentioned above differs from the correction made in the programming support editor. The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in conventional source program correction processing methods.

ソースプログラムの訂正作業を、印刷用紙を用いず、簡
略化し、かつ、正確にすることが可能な。
It is possible to simplify and accurately correct a source program without using printing paper.

ソースプログラム訂正処理方式を提供することにある。The object of the present invention is to provide a source program correction processing method.

〔問題点を解決するための手段〕[Means for solving problems]

゛本発明の上記目的は、操作者の入出力用端末機と、デ
ータセット保持用記憶装置と、プログラミング支援エデ
ィタとを含む電子計算機システムにおいて、言語プロセ
ッサが出力する翻訳リストを前記記憶装置上のデータセ
ットに格納し、操作者が前記端末機から翻訳リストを訂
正した場合に。
゛The above object of the present invention is to provide an electronic computer system that includes an input/output terminal for an operator, a storage device for holding data sets, and a programming support editor, in which a translation list output by a language processor is stored on the storage device. data set and when the operator corrects the translation list from the terminal.

翻訳リストの訂正個所に訂正マークを施し、該訂正マー
クを介してこれに対応するソースプログラムの訂正を行
うことを特徴とするソースプログラム訂正方式によって
達成される。
This is achieved by a source program correction method characterized in that a correction mark is applied to the corrected part of the translation list, and the corresponding source program is corrected through the correction mark.

〔作用〕[Effect]

以下、本発明の作用を図面を用いて説明する。 Hereinafter, the operation of the present invention will be explained using the drawings.

第2図は本発明に係わるプログラミング支援エディタを
含む電子計算機システムの機能構成図であり、図におい
て、記号1,3〜5,7,9.10は、先に第5図に示
したと同じ構成要素を示している。
FIG. 2 is a functional configuration diagram of an electronic computer system including a programming support editor according to the present invention. Showing elements.

また、2は前記言語プロセッサ1から出力される翻訳リ
スト3を保持するディスク装置、6Aは前記テキスト編
集部7とソースプログラム訂正部8とを含むプログラミ
ング支援エディタを示している。各部の機能については
以下に説明する。
Further, 2 indicates a disk device that holds the translation list 3 outputted from the language processor 1, and 6A indicates a programming support editor including the text editing section 7 and the source program correction section 8. The functions of each part will be explained below.

言語プロセッサ1は、利用者の端末機9からの操作によ
り、ディスク装置4上のソースプログラム5を入力し、
ディスク装置2上のデータセットに翻訳リスト3を格納
するよう動作する。
The language processor 1 inputs the source program 5 on the disk device 4 by the user's operation from the terminal 9,
It operates to store the translation list 3 in the data set on the disk device 2.

次に、テキスト編集部7は、利用者の操作に従い、WI
訳クリスト3訂正し、訂正されたステートメントに後述
する訂正インジケータを付加する。
Next, according to the user's operation, the text editing section 7
Translation Christ 3 is corrected and a correction indicator, which will be described later, is added to the corrected statement.

テキスト編集部7は、訂正終了操作を契機に、訂正され
たステートメントをディスク装置2上のデータセットに
書込み、ソースプログラム訂正部8に制御を渡すように
動作する。
In response to the correction end operation, the text editing section 7 operates to write the corrected statement to the data set on the disk device 2 and transfer control to the source program correction section 8.

これにより、ソースプログラム訂正部8は、翻訳リスト
3の訂正インジケータが付加されている訂正ステートメ
ントに対応するソースプログラム5のソースステートメ
ントをサーチし、置換えるように動作する。
Thereby, the source program correction unit 8 operates to search for and replace the source statement of the source program 5 that corresponds to the correction statement to which the correction indicator of the translation list 3 has been added.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
6 ゛本実施例は、第2図に示した如き構成を有するシステ
ムにおいて、プログラミング支援エディタ6Aに設けた
ソースプログラム訂正部8による処理を特徴とするもの
である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. It is characterized by:

第3図はP T、 1文法ミスのソースプログラム訂正
処理を行う場合の、端末機9の表示画面と利用者のキー
ボード操作の変遷図、第4図はP L 、1文法ミスの
訂正処理を、翻訳リストとソースプログラムの訂正デー
タの流れから見た構成図、また、第1図は処理フローチ
ャートである。
Figure 3 is a diagram showing the transition of the display screen of the terminal 9 and the user's keyboard operations when performing the source program correction process for PT, 1 grammar error. , a configuration diagram seen from the flow of correction data of a translation list and a source program, and FIG. 1 is a processing flowchart.

以下、第1図〜第4図を用いて、本実施例の動作を説明
する。
The operation of this embodiment will be described below with reference to FIGS. 1 to 4.

利用者は、端末機9から、言語プロセッサの翻訳リスト
3をディスク装置2上のデータセット名rSAMPLE
  LISTJ3−A(第3図参照)に格納する(ステ
ップ21)。
The user sends the translation list 3 of the language processor to the data set name rSAMPLE on the disk device 2 from the terminal 9.
It is stored in LISTJ3-A (see FIG. 3) (step 21).

次に、利用者は、端末機9の表示画面9−Aから、プロ
グラミング支援エディタ6のプログラム名称rPEDI
TJ9−1を入力し、送信キーを押下し、プログラミン
グ支援エディタ6を起動する(ステップ22)。
Next, the user selects the program name rPEDI of the programming support editor 6 from the display screen 9-A of the terminal 9.
Enter TJ9-1, press the send key, and start the programming support editor 6 (step 22).

プログラミング支援エディタ6は、訂正初期設定画面9
−Bを表示し、利用者が訂正を所望する翻訳リストの格
納データセット名9−2と、ソースプロゲラ11の格納
データセット名9−3、およびソースプログラムのデー
タタイプ9−4の入力を促がす(ステップ23)。
The programming support editor 6 has a correction initial setting screen 9
-B is displayed, and the user inputs the storage data set name 9-2 of the translation list that the user desires to correct, the storage data set name 9-3 of the source progera 11, and the data type 9-4 of the source program. prompt (step 23).

利用者は、翻訳リストのデータセット名、前記rSAM
PLE  LISTJ3−Aを、訂正画面上の入力領域
9−2に入力する。また、翻訳リスト3に対応するソー
スプログラム5の格納データセット名rSAMPLE、
PLIJ5−Aを訂正画面の入力領域9−3に、ソース
プログラム5のデータタイプrPLIJを訂正画面の入
力領域9−4に入力する。9−2.9−3.9−4の入
力完了後、送信キーを押下する(ステップ24)。
The user enters the dataset name of the translation list, the rSAM
Input PLE LISTJ3-A into the input area 9-2 on the correction screen. In addition, the storage data set name rSAMPLE of the source program 5 corresponding to the translation list 3,
PLIJ5-A is input into the input area 9-3 of the correction screen, and data type rPLIJ of the source program 5 is input into the input area 9-4 of the correction screen. After completing the input of 9-2.9-3.9-4, press the send key (step 24).

初期設定画面は壊れ、プログラミング支援エディタ6は
、翻訳リストのデータセット3−Aから翻訳リストを読
込み、翻訳リスト訂正画面9−Cを表示する。言語プロ
セッサ1は、ソースプログラムに文法ミスがある場合、
翻訳リストにエラー個所を指摘しているので、利用者は
、まず、訂正個所を見つける(ステップ25)。
The initial setting screen is broken, and the programming support editor 6 reads the translation list from the translation list data set 3-A and displays the translation list correction screen 9-C. If there is a grammar error in the source program, the language processor 1
Since the error part has been pointed out in the translation list, the user first finds the part to be corrected (step 25).

利用者は、この場合、訂正画面9−Cの9−6で、ro
 P E NJとすべきところがro P A NJと
なっているため、ro P A NJの文字列を「0P
ENJに、プログラミング支援エディタ6のコマンドで
訂正する。この訂正するコマンドは、訂正前文字rOP
ANJ9−8.訂正したい文字rOPENJ9−9のよ
うに入力し、入力終了後、送信キーを押下する(ステッ
プ26)。これにより、訂正内容が翻訳リスト訂正画面
9−Dに表示される。
In this case, the user selects ro in 9-6 of correction screen 9-C.
The string that should have been P E NJ is now ro P A NJ, so change the string ro P A NJ to "0P
Make corrections to ENJ using the programming support editor 6 command. This command to correct is the character before correction rOP.
ANJ9-8. Input the characters you want to correct, such as rOPENJ9-9, and after completing the input, press the send key (step 26). As a result, the correction contents are displayed on the translation list correction screen 9-D.

利用者は、他にも訂正個所があるか否かをチェックし、
あれば同様に訂正を行う(ステップ27)。
The user checks whether there are any other corrections,
If any, corrections are made in the same manner (step 27).

訂正が完了したのであれば、訂正内容確認を行う(ステ
ップ28)。
If the correction has been completed, the content of the correction is confirmed (step 28).

訂正が誤りなく行われていれば、翻訳リスト訂正画面9
−Dのコマンド入力領域9−10に、訂正終了を示すコ
マンドrQUIT  5AVEJを入力すると、翻訳リ
スト3のデータセット3−Aと、ソースプログラム5の
データセット5−Aとに、訂正後の内容が格納される(
ステップ29)。この書込みは、テキスト編集部7では
翻訳リスト3Cの訂正個所に前記訂正インジケータ12
(第4図参照)を付加しておき、ソースプログラム訂正
部8では上記訂正インジケータ12に対応するソースプ
ログラムのステートメントをシーケンス番号13でサー
チし、置換えを行うものである。
If the corrections were made without errors, the translation list correction screen 9 will appear.
When the command rQUIT 5AVEJ indicating the end of correction is input into the command input area 9-10 of -D, the corrected content is added to data set 3-A of translation list 3 and data set 5-A of source program 5. Stored (
Step 29). In the text editing section 7, this writing is performed using the correction indicator 12 at the corrected part of the translation list 3C.
(see FIG. 4), the source program correction section 8 searches for the statement of the source program corresponding to the correction indicator 12 using the sequence number 13, and performs replacement.

また、利用者がコマンドrQUITJを入力した場合は
、翻訳リスト、ソースプログラムの訂正内容を格納せず
、訂正処理は取消される。
Furthermore, when the user inputs the command rQUITJ, the correction process is canceled without storing the translation list and the correction contents of the source program.

上記実施例によれば、利用者が端末機で、ディスク装置
上にある翻訳リストを訂正するだけで。
According to the above embodiment, the user only needs to use the terminal to correct the translation list on the disk device.

別のデータセットにあるソースプログラムが訂正される
ため、翻訳リストの印刷用紙を用いずに即刻訂正ができ
、資源の節減および操作の省略ならびに訂正ミス防止の
効果がある。
Since the source program in a separate data set is corrected, corrections can be made immediately without using printing paper for the translation list, which has the effect of saving resources, omitting operations, and preventing correction errors.

上記実施例においては、テキスト編集部7で、翻訳リス
ト3Cの訂正個所に訂正インジケータを付加しておき、
ソースプログラム訂正部8で、上記訂正インジケータに
対応するソースプログラムのステートメントをサーチし
、置換えを行うようにした例を示したが、この関連付け
は他の方式によっても良いことは言うまでもない。
In the above embodiment, the text editing unit 7 adds a correction indicator to the corrected part of the translation list 3C,
Although an example has been shown in which the source program correction unit 8 searches for and replaces statements in the source program that correspond to the correction indicators, it goes without saying that this association may be performed using other methods.

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

以上詳細に述べた如く、本発明によれば、操作者の入出
力用端末機と、データセット保持用記憶装置と、プログ
ラミング支援エディタとを含む電子計算機システムにお
いて、言語プロセッサが出力する翻訳リストを前記記憶
装置上のデータセットに格納し、操作者が前記端末機か
ら翻訳リストを訂正した場合に、翻訳リストの訂正個所
に訂正マークを施し、該訂正マークを介してこれに対応
するソースプログラムの訂正を行うようにしたので、ソ
ースプログラムの訂正作業を、印刷用紙を用いず、簡略
化し、かつ、正確にすることが可能な、ソースプログラ
ム訂正処理方式を実現できるという顕著な効果を奏する
ものである。
As described in detail above, according to the present invention, in an electronic computer system including an input/output terminal for an operator, a storage device for holding data sets, and a programming support editor, a translation list outputted by a language processor is When the translation list is stored in the data set on the storage device and the operator corrects the translation list from the terminal, a correction mark is added to the corrected part of the translation list, and the corresponding source program is updated via the correction mark. Since the correction is made, it is possible to realize a source program correction processing method that can simplify and make correcting the source program without using printing paper, which is a remarkable effect. be.

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

第1図は本発明の一実施例の処理フローチャート、第2
図は実施例のプログラミング支援エディタを含む電子計
算機システムの機能構成図、第3図はPLI文法ミスの
ソースプログラム訂正処理を行う場合の、端末機の表示
画面と利用者のキーボード操作の変遷図、第4図はPL
I文法ミスの訂正処理を翻訳リストとソースプログラム
の訂正データの流れから見た構成図、第5図は従来のプ
ログラミング支援エディタを含む電子計算機システムの
機能構成図である。 に言語プロセッサ、2:翻訳リストを保持するディスク
装置、3:翻訳リスト、4:ソースプログラムを保持す
るディスク装置、5:ソースプログラム、6Aニブログ
ラミング支援エデイタ、7:テキスト編集部、8:ソー
スプログラム訂正部、9:入出力用端末機、10:機械
語プログラムを保持するディスク装置、ll:訂正イン
ジケータ領域、12:訂正インジケータ、13ニジ−ケ
ンス番号。 第     1    図 第     2     図
FIG. 1 is a processing flowchart of an embodiment of the present invention, and FIG.
The figure is a functional configuration diagram of the electronic computer system including the programming support editor of the embodiment, and Figure 3 is a diagram of the transition of the terminal display screen and the user's keyboard operation when performing source program correction processing for PLI grammar errors. Figure 4 is PL
FIG. 5 is a functional block diagram of an electronic computer system including a conventional programming support editor. language processor, 2: disk device that holds the translation list, 3: translation list, 4: disk device that holds the source program, 5: source program, 6A nib programming support editor, 7: text editing section, 8: source program Correction section, 9: Input/output terminal, 10: Disk device holding machine language program, 11: Correction indicator area, 12: Correction indicator, 13 Nijiken sequence number. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、操作者の入出力用端末機と、データセット保持用記
憶装置と、プログラミング支援エディタとを含む電子計
算機システムにおいて、言語プロセッサが出力する翻訳
リストを前記記憶装置上のデータセットに格納し、操作
者が前記端末機から翻訳リストを訂正した場合に、翻訳
リストの訂正個所に訂正マークを施し、該訂正マークを
介してこれに対応するソースプログラムの訂正を行うこ
とを特徴とするソースプログラム訂正方式。
1. In an electronic computer system including an input/output terminal for an operator, a storage device for holding data sets, and a programming support editor, storing a translation list output by a language processor in a data set on the storage device; Source program correction characterized in that when an operator corrects the translation list from the terminal device, a correction mark is placed on the corrected part of the translation list, and the corresponding source program is corrected through the correction mark. method.
JP61280037A 1986-11-25 1986-11-25 Source program correction system Granted JPS63133229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61280037A JPS63133229A (en) 1986-11-25 1986-11-25 Source program correction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61280037A JPS63133229A (en) 1986-11-25 1986-11-25 Source program correction system

Publications (2)

Publication Number Publication Date
JPS63133229A true JPS63133229A (en) 1988-06-06
JPH0552966B2 JPH0552966B2 (en) 1993-08-06

Family

ID=17619415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61280037A Granted JPS63133229A (en) 1986-11-25 1986-11-25 Source program correction system

Country Status (1)

Country Link
JP (1) JPS63133229A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261734A (en) * 1988-04-13 1989-10-18 Fujitsu Ltd Program output processing system based upon debugged result

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261734A (en) * 1988-04-13 1989-10-18 Fujitsu Ltd Program output processing system based upon debugged result

Also Published As

Publication number Publication date
JPH0552966B2 (en) 1993-08-06

Similar Documents

Publication Publication Date Title
US4445795A (en) Method and apparatus for merge processing in a text processing system
JPS6019227A (en) Document processing method
JPS63766A (en) Document processor
JPH0259926A (en) Automatic replacing printing method
JPS63133229A (en) Source program correction system
JP3567299B2 (en) Graph generation output device
JPH0128974B2 (en)
JPS6198471A (en) Printer
JPH01145760A (en) Document generating device
JPS60253572A (en) Blank filling printing system
JP2982487B2 (en) Document creation device
JPH056908B2 (en)
JPH02255965A (en) Word processor
JPS61260293A (en) Display system
JPH07141330A (en) Document preparation device having multi-lingual function
JPH06214789A (en) Device for supporting fuzzy rule development
JPH04190450A (en) Document processor
JPH04242474A (en) Document preparing device
JPS6320621A (en) Editing printer
JPS59214936A (en) Character processor
JPH07168829A (en) Document preparing method
JPH0225358A (en) Data output device
JPH05303576A (en) Document processing system
JPH0227698B2 (en)
JPS5911450A (en) Program processing system