JPH0223428A - Translation type executing system for command type end user language - Google Patents

Translation type executing system for command type end user language

Info

Publication number
JPH0223428A
JPH0223428A JP17471288A JP17471288A JPH0223428A JP H0223428 A JPH0223428 A JP H0223428A JP 17471288 A JP17471288 A JP 17471288A JP 17471288 A JP17471288 A JP 17471288A JP H0223428 A JPH0223428 A JP H0223428A
Authority
JP
Japan
Prior art keywords
procedure
format
object format
command
user language
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
JP17471288A
Other languages
Japanese (ja)
Inventor
Chieko Koizumi
小泉 千恵子
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 JP17471288A priority Critical patent/JPH0223428A/en
Publication of JPH0223428A publication Critical patent/JPH0223428A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To shorten execution time by converting from a source format to an object format and executing the procedure of the object format when the routine processing executed by a command type end user language is made into a procedure. CONSTITUTION:A user inputs an instruction to convert the format of the procedure from a keyboard 2 and conveys it to a procedure calling part 11. A calling part 12 develops a procedure 71 registered in a procedure registering library 7 onto a main memory area. A procedure format converting processing part 12 successively analyzes respective commands for respective commands in the developed procedure 71 and converts them to the object format. After conversion, an object format procedure registering part 13 registers the commands into an object format file 8 as an object format procedure 81. An object format procedure executing part 15 is coupled with the developed procedure 81 dynamically, executes the procedure and the processed result is displayed on a CRT display 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コマンド型エンドユーザ言語の翻訳型実行方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a command-based end-user language translation-based execution scheme.

〔従来の技術〕[Conventional technology]

従来、コマンド型エンドユーザ言語を用いて、定型的な
処理をおこなうとき、その処理に必要となる複数のコマ
ンドを1つの手続きとしてライブラリに登録しておき、
その手続きを実行する方式は、ソース形式の手続きを呼
び出して実行する方式となっていた。
Conventionally, when performing routine processing using a command-type end user language, multiple commands required for that processing are registered as one procedure in a library.
The method of executing the procedure was to call and execute the procedure in source format.

ここで、第4図を参照して従来の手続き実行手順につい
て説明する。本従来例において、キーボード2と、CR
Tデイスプレィ4と、プリンタ5とは、オンライン回線
6を介してポストコンピュータ1に接続されており、ホ
ストコンピュータ1内には、手続き呼び出し部161手
続き実行部17を有している。また、手続き登録ライブ
ラリ7には、コマンド型エンドユーザ言語で作成された
手続き71が登録されている。
Here, the conventional procedure execution procedure will be explained with reference to FIG. In this conventional example, the keyboard 2 and the CR
The T-display 4 and the printer 5 are connected to the post computer 1 via an online line 6, and the host computer 1 includes a procedure calling section 161 and a procedure execution section 17. Further, the procedure registration library 7 has registered therein a procedure 71 created in a command-type end user language.

利用者が、キーボード2より手続きを実行するための指
示を入力すると、オンライン回線6を介して、ホストコ
ンピュータ1内の手続き呼び出し部16へ渡され、手続
き呼び出し部16では、手続き登録ライブラリ7に登録
されている手続き71を主記憶領域上へ展開する。手続
き実行部17では、第5図のフローチャートに示すよう
に、手続きの実行命令を受は取ると(ステップ40)、
コマンド毎にパラメータのチエツクをおこない(ステッ
プ41)、エラーがなければ各コマンドを順次解析・実
行しくステップ42・43)、その処理結果をCRTデ
イスプレィ4に表示しなり、プリンタ5に印字したりす
る方式となっていた。また、エラーがあればエラー処理
を行なっていたくステップ44)。
When the user inputs an instruction to execute a procedure using the keyboard 2, the instruction is passed to the procedure calling unit 16 in the host computer 1 via the online line 6, and the procedure calling unit 16 registers it in the procedure registration library 7. Expand the procedure 71 that has been executed into the main storage area. As shown in the flowchart of FIG. 5, the procedure execution unit 17 receives a procedure execution command (step 40).
The parameters are checked for each command (step 41), and if there are no errors, each command is analyzed and executed in sequence (steps 42 and 43), and the processing results are displayed on the CRT display 4 and printed on the printer 5. It was a method. Further, if there is an error, error processing should be performed (step 44).

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

上述した従来のコマンド型エンドユーザ言語の実行方式
は、手続きを実行するたびに、1コマンドずつパラメー
タのチエツクや解析をおこなってその機能を実現してい
るので、1コマンドの実行に時間を要し、処理結果を得
るまでに時間がかかるという欠点がある。
In the conventional command-type end user language execution method described above, each time a procedure is executed, the parameters of each command are checked and analyzed to realize the function, so it takes time to execute one command. However, the disadvantage is that it takes time to obtain processing results.

また、同じ手続きを何度か実行する場合においても、コ
マンドの解析をおこなうため、手続きの実行効率が悪い
という欠点がある。
Furthermore, even when the same procedure is executed several times, the command analysis is performed, so there is a drawback that the execution efficiency of the procedure is low.

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

本発明のコマンド型エンドユーザ言語の翻訳実行方式は
、コマンド型エンドユーザ言語を用いておこなう定型的
な処理を手続きとしてライブラリに登録し実行する方式
において、ライブラリに登録された手続きを主記憶領域
に展開する手続き呼び出し部と、前記手続き呼び出し部
で展開された手続き中のコマンドを解析しオブジェクト
形式に変換する手続き形式変換処理部と、前記手続き形
式変換処理部で変換された手続きをオブジェクト形式フ
ァイルへ登録するオブジェクト形式手続き登録部と、前
記オブジェクト形式ファイルに登録されているオブジェ
クト形式の手続きを主記憶領域に展開するオブジェクト
形式手続き呼び出し部と、手続きを実行するためのオブ
ジェクト形式手続き実行部とを備えて成ることを特徴と
して構成される。
The command type end user language translation execution method of the present invention is a method in which routine processing performed using a command type end user language is registered as a procedure in a library and executed, and the procedure registered in the library is stored in the main storage area. A procedure caller that expands, a procedure format conversion processor that analyzes commands in the procedure expanded by the procedure caller and converts them into object format, and converts the procedure converted by the procedure format converter to an object format file. An object format procedure registration unit for registering an object format procedure, an object format procedure calling unit for expanding the object format procedure registered in the object format file into a main storage area, and an object format procedure execution unit for executing the procedure. It is composed of the following characteristics:

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例の構成を示すブロック図で
ある。本実施例は、オンライン回線6を介してホストコ
ンピュータ1に接続されているキーボード2・3と、C
RTデイスプレィ4と、プリンタ5と、ホストコンピュ
ータ1内の手続き呼び出し部11と、手続き形式変換処
理部12と、オブジェクト形式手続き登録部13と、オ
ブジェクト形式手続き呼び出し部14と、オブジェクト
形式手続き実行部15と、コマンド型エンドユーザ言語
で作成された手続きを格納しておく手続き登録ライブラ
リ7と、オブジェクト形式に変換された手続きを格納し
ておくオブジェクト形式ファイル8とにより構成される
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In this embodiment, keyboards 2 and 3 connected to a host computer 1 via an online line 6,
RT display 4 , printer 5 , procedure calling section 11 in host computer 1 , procedure format conversion processing section 12 , object format procedure registration section 13 , object format procedure calling section 14 , and object format procedure execution section 15 , a procedure registration library 7 that stores procedures created in a command-type end user language, and an object format file 8 that stores procedures converted into object format.

まず初めに、コマンド型エンドユーザ言語で作成・登録
されたソース形式の手続きを、オブジェクト形式の手続
きに変換、登録する処理手順について説明する。
First, a processing procedure for converting and registering a source format procedure created and registered in a command type end user language into an object format procedure will be explained.

利用者は、キーボード2より手続きの形式を変換するた
めの指示を入力する。この指示は、オンライン回線6を
介して、ホストコンピュータ1に送られ、手続き呼び出
し部11へ渡される。この指示を受は取った手続き呼び
出し部11は、手続き登録ライブラリ7に登録されてい
る手続き71を、主記憶領域上に展開する。次に手続き
形式変換処理部12では、第2図のフローチャートに示
すように、手続きの形式変換命令を受は取ると(ステッ
プ21)、展開された手続き71中の各コマンドに対し
パラメータチエツクをおこない(ステップ22)、エラ
ーがなければ各コマンドを順次解析して(ステップ23
〉オブジェクト形式に変換していく(ステップ24)。
The user inputs an instruction for converting the procedure format using the keyboard 2. This instruction is sent to the host computer 1 via the online line 6 and passed to the procedure calling section 11. Upon receiving this instruction, the procedure calling unit 11 expands the procedure 71 registered in the procedure registration library 7 onto the main storage area. Next, as shown in the flowchart of FIG. 2, the procedure format conversion processing unit 12 receives a procedure format conversion instruction (step 21), and performs a parameter check on each command in the expanded procedure 71. (Step 22), and if there are no errors, each command is analyzed sequentially (Step 23).
> Conversion to object format (step 24).

変換後、オブジェクト形式手続き登録部13により、オ
ブジェクト形式手続き81としてオブジェクト形式フア
イル8に登録される。また、エラーがあればエラー処理
をおこなっていたくステップ25)。
After conversion, the object format procedure registration unit 13 registers it in the object format file 8 as an object format procedure 81. Also, if there is an error, error processing should be performed (step 25).

次に、この手続きを実行するときの処理手順について説
明する。
Next, the processing procedure when executing this procedure will be explained.

利用者は、キーボード3より手続きを実行するための指
示を入力する。オブジェクト形式手続き呼び出し部14
では、オンライン回線を介しこの指示を受は取り、オブ
ジェクト形式ファイル8に格納されているオブジェクト
形式手続き81を、主記憶領域上に展開する。オブジェ
クト形式手続き実行部15は、第3図のフローチャート
に示すように、オブジェクト形式手続きの実行命令を受
は取るとくステップ31)、実行指示の中の仮パラメー
タへの入力値をチエツクしくステップ32)、エラーが
なければ展開されているオブジェクト形式手続き81と
動的に結合させて手続きを実行して(ステップ33〉、
その処理結果をCRTデイスプレィ4に表示したり、プ
リンタ5に印字したりする。ここでもエラーがあればエ
ラー処理をおこなう(ステップ34)。
The user inputs instructions for executing the procedure using the keyboard 3. Object format procedure calling unit 14
Then, this instruction is received via the online line, and the object format procedure 81 stored in the object format file 8 is expanded onto the main storage area. As shown in the flowchart of FIG. 3, the object-format procedure execution unit 15 receives and accepts an instruction to execute an object-format procedure (step 31), and checks input values to formal parameters in the execution instruction (step 32). , if there is no error, execute the procedure by dynamically combining it with the expanded object format procedure 81 (step 33).
The processing results are displayed on the CRT display 4 or printed on the printer 5. Here too, if there is an error, error handling is performed (step 34).

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

以上説明したように本発明は、コマンド型エンドユーザ
言語でおこなわれる定型的な処理を手続き化する際、ソ
ース形式からオブジェクト形式に変換しておき、オブジ
ェクト形式の手続きを実行することにより1手続きの実
行時間を雉縮し実行効率をよくするという効果がある。
As explained above, the present invention, when converting routine processing performed in a command type end user language into a procedure, converts the source format into an object format and executes the object format procedure. This has the effect of reducing execution time and improving execution efficiency.

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

第1図は本発明の一実施例の構成を示すプロ・ンク図、
第2図は第1図中に示した手続き形式変換処理部におけ
る処理フローを示す流れ図、第3図は第1図中に示した
オブジェクト形式手続き呼び出し部における処理フロー
を示す流れ図、第4図は従来技術による構成の一例を示
すブロック図、第5図は第4図中に示した手続き実行部
における処理フローを示す流れ図である。 1・・・ホストコンピュータ、2・3・・・キーボード
、4・・・CRTデイスプレィ、5・・・プリンタ、6
・・・オンライン回線、7・・・手続き登録ライブラリ
、8・・・オブジェクト形式ファイル、11・・・手続
き呼び出し部、12・・・手続き形式変換処理部、13
・・・オブジェクト形式手続き登録部、14・・・オブ
ジェクト形式手続き呼び出し部、15・・・オブジェク
ト形式手続き実行部。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention;
FIG. 2 is a flowchart showing the processing flow in the procedure format conversion processing section shown in FIG. 1, FIG. 3 is a flowchart showing the processing flow in the object format procedure calling section shown in FIG. 1, and FIG. FIG. 5 is a block diagram showing an example of a configuration according to the prior art. FIG. 5 is a flowchart showing the processing flow in the procedure execution section shown in FIG. 1...Host computer, 2.3...Keyboard, 4...CRT display, 5...Printer, 6
. . . Online line, 7. Procedure registration library, 8. Object format file, 11. Procedure calling unit, 12. Procedure format conversion processing unit, 13.
. . . object format procedure registration unit, 14 . . . object format procedure calling unit, 15 . . . object format procedure execution unit.

Claims (1)

【特許請求の範囲】[Claims] コマンド型エンドユーザ言語を用いておこなう定型的な
処理を手続きとしてライブラリに登録し実行する方式に
おいて、ライブラリに登録された手続きを主記憶領域に
展開する手続き呼び出し部と、前記手続き呼び出し部で
展開された手続き中のコマンドを解析しオブジェクト形
式に変換する手続き形式変換処理部と、前記手続き形式
変換処理部で変換された手続きをオブジェクト形式ファ
イルへ登録するオブジェクト形式手続き登録部と、前記
オブジェクト形式ファイルに登録されているオブジェク
ト形式の手続きを主記憶領域に展開するオブジェクト形
式手続き呼び出し部と、手続きを実行するためのオブジ
ェクト形式手続き実行部とを備えて成ることを特徴とす
るコマンド型エンドユーザ言語の翻訳型実行方式。
In a method in which routine processing performed using a command type end user language is registered as a procedure in a library and executed, there is a procedure calling section that expands the procedure registered in the library into the main storage area, and a procedure that is expanded in the procedure calling section. a procedure format conversion processing unit that analyzes a command in a procedure format and converts it into an object format; an object format procedure registration unit that registers the procedure converted by the procedure format conversion processing unit into an object format file; Translation of a command-type end-user language characterized by comprising an object-format procedure calling unit that expands a registered object-format procedure into a main storage area, and an object-format procedure execution unit that executes the procedure. Type execution method.
JP17471288A 1988-07-12 1988-07-12 Translation type executing system for command type end user language Pending JPH0223428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17471288A JPH0223428A (en) 1988-07-12 1988-07-12 Translation type executing system for command type end user language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17471288A JPH0223428A (en) 1988-07-12 1988-07-12 Translation type executing system for command type end user language

Publications (1)

Publication Number Publication Date
JPH0223428A true JPH0223428A (en) 1990-01-25

Family

ID=15983331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17471288A Pending JPH0223428A (en) 1988-07-12 1988-07-12 Translation type executing system for command type end user language

Country Status (1)

Country Link
JP (1) JPH0223428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04348489A (en) * 1990-06-21 1992-12-03 Photographic Sci Corp Scanning module for bar-code reading device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04348489A (en) * 1990-06-21 1992-12-03 Photographic Sci Corp Scanning module for bar-code reading device

Similar Documents

Publication Publication Date Title
JPH0223428A (en) Translation type executing system for command type end user language
JPS5922140A (en) Interactive compiling system
JPH07239787A (en) Extraction device for information from parsing tree
JPS59218574A (en) Command processing system
JP2833612B2 (en) Service primitive generation system
JPH01194053A (en) Processing system for command procedure
JPH10207738A (en) Language processing system
JPH05324344A (en) Argument processing optimization method at the time of calling function
JPH0363729A (en) Conversion system for other system control language
JP3039450B2 (en) Stack area switching method and method, and storage medium storing stack area switching program
JPH0580992A (en) Output system for procedure-function relation chart
JPH064348A (en) Program debugging system
JPH03129535A (en) Collecting volume optimizing system for debugging information
JPH07129384A (en) Conversion system of operation procedure into natural language format file
JPS63640A (en) Execution control system for partial unit of data flow
JPH02280228A (en) System for converting input data
JPH0778096A (en) Program test system
JPS6266371A (en) Text separation type learning system
JPH0250730A (en) Language converting system based upon common machine word
JPH05127945A (en) Program execution situation analysis system
JPH034336A (en) Program debug processor
JPH07230396A (en) Mutual constitution system for different kinds of file system forms
JPH02178844A (en) Translation list output control system
JPH07334399A (en) Code conversion system for fixed length record
JPH05197538A (en) Exception generation line number display system of precompiler system