JPH025136A - Error processing system for language processing program - Google Patents

Error processing system for language processing program

Info

Publication number
JPH025136A
JPH025136A JP63157317A JP15731788A JPH025136A JP H025136 A JPH025136 A JP H025136A JP 63157317 A JP63157317 A JP 63157317A JP 15731788 A JP15731788 A JP 15731788A JP H025136 A JPH025136 A JP H025136A
Authority
JP
Japan
Prior art keywords
error
language processing
time
console
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63157317A
Other languages
Japanese (ja)
Inventor
Katsuko Fukuhara
福原 功子
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 JP63157317A priority Critical patent/JPH025136A/en
Publication of JPH025136A publication Critical patent/JPH025136A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the efficiency of development by providing the title system with a means for temporally suspending succeeding language processing at the time of detecting an error and a means for outputting the error detection as a message at the time of detecting the error. CONSTITUTION:At the time of detecting an error in data inputted from a console 9 at the time of starting a language processing program, a syntax analysis processing part 4 inputs an instruction for specifying whether the execution of the language processing program is to be suspended or not. When the information is transferred to an error processing part 7, it is unnecessary for the processing part 7 to wait key input from the console 9. When time is required for the completion of language processing, the output of the error information to the console 9 makes it possible for a programmer to quickly know the existence of an error and suspend the language processing at the time of generating the error if necessary. Consequently, the efficiency of development can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機システム上で動作する言語処理プロ
グラムのエラー処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error handling method for a language processing program running on a computer system.

〔従来の技術〕[Conventional technology]

従来、電子計算機システム上で動作する言語処理プログ
ラムのエラー処理方式は、入力したソース・プログラム
に対するすべての言語処理が終了した時点でエラーの数
をコンソール、リスト・ファイルなどに出力するように
なっていた。
Conventionally, the error handling method for language processing programs running on computer systems has been to output the number of errors to the console, list file, etc. when all language processing for the input source program has been completed. Ta.

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

上述した従来のエラー処理方式は、言語処理がすべて終
了する時点までエラー数が表示されない。
In the conventional error processing method described above, the number of errors is not displayed until all language processing is completed.

このため、言語処理の早期に少量のエラーが発見され、
それ以降の処理ではエラーが発見されなかった場合には
、エラー情報を必要とするプログラマが、そのエラー情
報を得るまでに時間がかかり、開発効率が落ちるという
欠点がある。
For this reason, small amounts of errors are discovered early in language processing, and
If no error is found in subsequent processing, it takes time for a programmer who needs error information to obtain that error information, which has the disadvantage of reducing development efficiency.

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

本発明のエラー処理方式は、ニラ−発見時にそれ以降の
言語処理を一時中断する手段と、エラーを発見した時点
でそれをメツセージ出力する手段とを有している。
The error handling system of the present invention includes means for temporarily suspending language processing after a chive is discovered, and means for outputting a message when an error is discovered.

〔実施例〕〔Example〕

次に本発明を図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明のエラー処理方式を含む言語処環プログ
ラム全体の流れをブロック図にしたものであり、1はソ
ース・プログラム・ファイル、2は言語処理プログラム
、3は入力処理部、4は構文解析処理部、5はオブジェ
クト・コード生成部、6は出力処理部、7はエラー処理
部、8は出力ファイル、9はコンソールである。
FIG. 1 is a block diagram showing the entire flow of the language processing program including the error processing method of the present invention, in which 1 is the source program file, 2 is the language processing program, 3 is the input processing section, and 4 is the 5 is an object code generator, 6 is an output processor, 7 is an error processor, 8 is an output file, and 9 is a console.

第2図は本エラー処理方式の流れ図、第3図はエラー・
メツセージである。
Figure 2 is a flowchart of this error handling method, and Figure 3 is an error handling method.
It is a message.

(1)第1図により本発明のエラー処理方式を含む言語
処理プログラム全体の流れを説明する。
(1) The overall flow of the language processing program including the error processing method of the present invention will be explained with reference to FIG.

言語処理プログラム2は、入力処理部3においてコンソ
ール9からの入力を解析し、ソース・プログラム・ファ
イルlを読み込む。構文解析処理部4は、入力処理部3
で読み込まれたソース・プログラムの情報をうけとり、
ソース・プログラム中の文を解析する。構文解析の結果
、エラーが発見された場合には、エラー処理部7で、そ
のエラー・メツセージをコンソール9に出力する。その
メツセージに対し、コンソール9より言語処理続行 エラー処理部7より構文解析処理部4の処理に戻る。オ
ブジェクト・コード生成部5は、構文解析処理部4がソ
ース・プログラム中の文を解析した情報をうけとり、ソ
ース・プログラム中の文をオブジェクト・コードに変換
する。出力処理部6はオブジェクト・コート生成部5か
ら情報をうけとり、出力ファイル8に出力する。
The language processing program 2 analyzes the input from the console 9 in the input processing section 3 and reads the source program file l. The syntactic analysis processing unit 4 is the input processing unit 3
Receives information about the source program loaded in
Analyze statements in a source program. If an error is found as a result of the syntax analysis, the error processing section 7 outputs the error message to the console 9. In response to the message, the language processing continuation error processing section 7 returns to the processing of the syntax analysis processing section 4 from the console 9. The object code generation section 5 receives information obtained by parsing the sentences in the source program by the syntax analysis processing section 4, and converts the sentences in the source program into object code. The output processing unit 6 receives information from the object code generation unit 5 and outputs it to an output file 8.

(2)つぎにエラー処理部7の処理について、第2図を
用いて説明する。第2図において、構文解析処理部が、
ステップA1でソース・プログラムを1行読み込み、ス
テップA2で、その行の構文を解析する。ステップA3
でその行にエラーがあるかどうかを判定し、エラーがあ
る場合には処理をエラー処理部に渡す。エラー処理部で
は、ステップA4で第3図に示すようなエラー・メツセ
ージをコンソールに出力し、ステップA5でソンソール
からのキー人力を待つ。
(2) Next, the processing of the error processing section 7 will be explained using FIG. In FIG. 2, the syntax analysis processing section
One line of the source program is read in step A1, and the syntax of that line is analyzed in step A2. Step A3
Determines whether there is an error in that line, and if there is an error, the process is passed to the error handling section. The error processing section outputs an error message as shown in FIG. 3 to the console in step A4, and waits for key input from Sonsoul in step A5.

ステップA6でコンソールからのキー人力有と判断され
た場合には、ステ、ブA7でそのキー人力が言語処理の
中止を指示するもとがどうか判断する。コンソールより
言語処理中止の指示が入力された場合には、ステップA
8で言語処理を中止して制御をO3に戻す。ステップA
7で言語処理続行の指示が入力された場合には、処理を
構文解析処理部に戻し、言語処理を続行する。
If it is determined in step A6 that there is a key input from the console, it is determined in step A7 whether the key input is the source of an instruction to stop the language processing. If an instruction to cancel language processing is input from the console, step A
At step 8, language processing is stopped and control is returned to O3. Step A
If an instruction to continue language processing is input in step 7, the process is returned to the parsing unit and language processing is continued.

上記実施例1の第1図のブロック図において、言語処理
プログラム起動時に入力されるコンソール9からのデー
タとして、構文解析処理4でエヤーが発見さhた場合に
言語処理プログラムを中止するかどうかの指示を入力し
、その情報をエラー処理部7に渡すことにより、エラー
処理部7においてコンソール9からのキー人力待ちをし
ないですむ。
In the block diagram of FIG. 1 of the first embodiment, the data input from the console 9 when starting the language processing program indicates whether or not to stop the language processing program when an air is detected in the parsing process 4. By inputting an instruction and passing the information to the error processing unit 7, the error processing unit 7 does not have to wait for key input from the console 9.

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

以上説明したように本発明は、言語処理中にエラーが発
見された時点で処理を一時中断し、エラー情報をコンソ
ールなどに出力することにより、言語処理が完了するま
でに長時間かかるような場合、プログラマがエラーの有
無を早期に知り、必要であればエラー発生時点で言語処
理を中断することができる。これによりエラー数が少量
の場合に、言語処理全てが終了するまでエラー情報が得
られない場合にくらべ、開発効率を短縮できるという効
果がある。
As explained above, the present invention temporarily suspends processing when an error is discovered during language processing, and outputs error information to a console, etc., so that it can be used in cases where it takes a long time to complete language processing. , the programmer can know the presence or absence of an error at an early stage and, if necessary, interrupt language processing at the point where the error occurs. This has the effect of reducing development efficiency when the number of errors is small compared to the case where error information cannot be obtained until all language processing is completed.

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

第1図は本エラー処理方式を含む言語処理プログラム全
体のブロック図、 ■・・・・・・ソース・プログラム・ファイル、2・旧
・・言語処理プログラム、3・・・・・・入力処理部、
4・・・・・・構文解析処理部、訃・・・・・オブジェ
クト・コード生成部、6・・・・・・出力処理部、7・
・・・・・エラー処理部、8・・・・・・出力ファイル
、9・・・・・・コンソール、第2図は第1の実施例に
おける本エラー処理方式のフローチャート図、第3図は
エラー・メツセージを示す図である。 代理人 弁理士  内 原   晋 茅3 閃
Figure 1 is a block diagram of the entire language processing program including this error processing method, 1. Source program file, 2. Old language processing program, 3. Input processing section. ,
4...Syntax analysis processing section, Object code generation section, 6...Output processing section, 7.
... Error processing section, 8 ... Output file, 9 ... Console, Fig. 2 is a flowchart of this error processing method in the first embodiment, Fig. FIG. 3 is a diagram showing an error message. Agent Patent Attorney Shinka Uchihara 3 Sen

Claims (1)

【特許請求の範囲】[Claims] 電子計算機システム上で動作する言語処理プログラムの
エラー処理方式において、エラー発見時にそれ以降の言
語処理を一時中断する手段と、エラーを発見した時点で
それをメッセージ出力する手段とを有し、エラー発見時
にプログラマが言語処理プログラムの中止を指示でかる
ことを特徴とする言語処理プログラムのエラー処理方式
An error handling method for a language processing program running on a computer system has a means for temporarily suspending language processing after an error is discovered, and a means for outputting a message when an error is discovered. An error handling method for a language processing program, characterized in that the programmer can sometimes instruct the language processing program to stop.
JP63157317A 1988-06-24 1988-06-24 Error processing system for language processing program Pending JPH025136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63157317A JPH025136A (en) 1988-06-24 1988-06-24 Error processing system for language processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63157317A JPH025136A (en) 1988-06-24 1988-06-24 Error processing system for language processing program

Publications (1)

Publication Number Publication Date
JPH025136A true JPH025136A (en) 1990-01-10

Family

ID=15647049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63157317A Pending JPH025136A (en) 1988-06-24 1988-06-24 Error processing system for language processing program

Country Status (1)

Country Link
JP (1) JPH025136A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5910298A (en) * 1996-01-10 1999-06-08 Nakamichi Yamasaki Method of and apparatus for performing continuous hydrothermal synthesis
US5954267A (en) * 1996-11-22 1999-09-21 Nakamichi Yamasaki Method for spraying starting material particles in continuous hydrothermal reaction and apparatus therefor
US10731722B2 (en) 2015-02-18 2020-08-04 E. I. Du Pont De Nemours And Company Jounce bumper
US10737543B2 (en) 2010-08-12 2020-08-11 Dupont Polymers, Inc. Thermoplastic jounce bumpers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5910298A (en) * 1996-01-10 1999-06-08 Nakamichi Yamasaki Method of and apparatus for performing continuous hydrothermal synthesis
US5954267A (en) * 1996-11-22 1999-09-21 Nakamichi Yamasaki Method for spraying starting material particles in continuous hydrothermal reaction and apparatus therefor
US10737543B2 (en) 2010-08-12 2020-08-11 Dupont Polymers, Inc. Thermoplastic jounce bumpers
US10731722B2 (en) 2015-02-18 2020-08-04 E. I. Du Pont De Nemours And Company Jounce bumper

Similar Documents

Publication Publication Date Title
JP2001184218A (en) Optimization method in compile of mpi program
JPH025136A (en) Error processing system for language processing program
JP2540605B2 (en) Data flow computer execution detection method
JP3130421B2 (en) Program analysis method and apparatus
JPH03235135A (en) Automatic inspection system for program
JP3018783B2 (en) Compilation method
JPH0210433A (en) Reserved work deciding system
JPH01296347A (en) Error message outputting system for compiler
JPH0358232A (en) Preprocessor calling system
JPS63280331A (en) Merging system between job transfer and file transfer
JPH05313870A (en) Preparation system for program structure diagram
JPH03168836A (en) Emulation processor
JPH01274241A (en) Instruction string generating system
JPH01291329A (en) High speed compile processing system
JPS63228341A (en) Program syntax checking system
JPH04248624A (en) Program conversion processor
JPH03233730A (en) Software error processing system
JPH05216828A (en) Error processing system in batch execution of software simulator
JPH01213721A (en) Compiler system
JPH03242736A (en) Abnormality processing system
JPH03132825A (en) Compiling system for logical language
JPH046019B2 (en)
JPH04364537A (en) Method, device, and compiler for optimizing program for parallel process
JPH02112028A (en) System for controlling execution of data flow type language
JPH05334097A (en) Parallelized analysis information output system