JPH0689183A - Delayed output control system - Google Patents

Delayed output control system

Info

Publication number
JPH0689183A
JPH0689183A JP24022892A JP24022892A JPH0689183A JP H0689183 A JPH0689183 A JP H0689183A JP 24022892 A JP24022892 A JP 24022892A JP 24022892 A JP24022892 A JP 24022892A JP H0689183 A JPH0689183 A JP H0689183A
Authority
JP
Japan
Prior art keywords
vocabulary
destination
list
output
instruction
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.)
Withdrawn
Application number
JP24022892A
Other languages
Japanese (ja)
Inventor
Yasuhisa Shitanda
康久 四反田
Nobuyuki Kato
伸幸 加藤
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido Ltd
NEC Software Chubu 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd, NEC Software Chubu Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP24022892A priority Critical patent/JPH0689183A/en
Publication of JPH0689183A publication Critical patent/JPH0689183A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To eliminate the labor and the time for confirmation, to save a user from the trouble to indicate the destination again, and to shorten the time required for output at the time of concentration of output to one destination by clarifying the destination even in the case that data is vicariously outputted because of a fault of the output destination. CONSTITUTION:Output information including an image number and a destination name is inputted, and image data corresponding to the image number is read in from an image data file 2, and the output destination and the delayed output destination corresponding to the destination name are obtained from an output destination table, and image data is outputted. In this image data transmission system, the delayed output destination held in a data preserving part 11 is obtained to change the output destination and the destination name as the original output destination is held in the data preserving part 11 and is printed together with image data if image data cannot be outputted because of a fault of the device of the original output destination.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子計算機のインタプリ
タ処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interpreter processing system for electronic computers.

【0002】[0002]

【従来の技術】従来のインタプリタ処理方式は、図2に
処理のフロー図を示すように、命令文が入力されると語
彙解析手段11は、命令文を語彙単位に分割し、語彙の
リストを生成する。次に、構文解析手段12は、語彙の
リストの解析および構文のチェックを行ない、実行のた
めに必要なパラメータを作成する。命令実行手段13
は、パラメータに従って命令文の実行を行なう。以上の
処理を実行する全ての命令文に対して繰返し行なうこと
により、インタプリタ処理を実現するようになってい
る。
2. Description of the Related Art In the conventional interpreter processing method, as shown in the flow chart of FIG. 2, when a command sentence is input, the vocabulary analyzing means 11 divides the command sentence into vocabulary units and creates a vocabulary list. To generate. Next, the syntactic analysis means 12 parses the vocabulary list and checks the syntax to create parameters required for execution. Instruction executing means 13
Executes the statement according to the parameters. The interpreter processing is realized by repeating the above processing for all the instruction statements.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のインタ
プリタ処理方式は、一度実行した命令文と同じ命令文を
実行する場合にも構文解析処理を再度行なうため、処理
系全体の処理時間が長いという問題点がある。特にデー
タアクセス言語SQLのように、同じ命令文が繰返し実
行される可能性の高い場合には、インタプリタ処理方式
の処理時間のうち、大きな比重を占める構文解析処理を
繰返し実行することになり、処理時間が著しく増大する
という問題点を有する。
In the conventional interpreter processing method described above, the parsing processing is performed again even when the same statement as the once executed statement is executed, so that the processing time of the entire processing system is long. There is a problem. Especially when the same statement is likely to be repeatedly executed, as in the data access language SQL, the parsing processing that occupies a large proportion of the processing time of the interpreter processing method is repeatedly executed. There is a problem that the time is significantly increased.

【0004】[0004]

【課題を解決するための手段】本発明のインタプリタ処
理方式は、入力された命令文を語彙単位に区切り、語彙
のリストを生成する語彙解析手段と語彙のリストを解析
し命令文の実行に必要なパラメータを作成する構文解析
手段とパラメータによって命令文を実行する命令実行手
段とを有するインタプリタ処理方式において、一度実行
した命令文の語彙のリストおよび対応するパラメータを
保存するための命令管理テーブルと、語彙解析手段によ
って生成された語彙のリストが前記命令管理テーブルに
保存された語彙のリストと同値の場合には対応するパラ
メータを読出して、このパラメータによって命令実行手
段に命令を実行させる命令管理手段とを有することによ
り構成される。
The interpreter processing method of the present invention requires a vocabulary analysis unit that divides an input sentence into vocabulary units and generates a vocabulary list, and analyzes the vocabulary list to execute the sentence. An interpreter processing method having a parsing means for creating various parameters and an instruction executing means for executing an imperative sentence by the parameter, and an instruction management table for storing a list of vocabulary of the imperative sentence once executed and corresponding parameters, When the vocabulary list generated by the vocabulary analysis means has the same value as the vocabulary list stored in the instruction management table, the corresponding parameter is read out, and the instruction execution means executes the instruction by the parameter. It is constituted by having.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の構成図である。
図1の実施例は語彙解析手段11,構文解析手段12,
命令実行手段13,命令管理テーブル14,および命令
管理手段15を有して構成される。
FIG. 1 is a block diagram of an embodiment of the present invention.
In the embodiment shown in FIG. 1, the vocabulary analysis means 11, the syntax analysis means 12,
It is configured to have an instruction execution unit 13, an instruction management table 14, and an instruction management unit 15.

【0007】語彙解析手段11は命令文を読込み、命令
文を語彙単位に分割し、語彙のリストを生成する。構文
解析手段12は語彙のリストを解析し、命令文を実行す
るために必要なパラメータを生成する。実行手段13は
パラメータに従って、命令文の実行を行なう。命令管理
テーブル14は、語彙リスト格納域141とパラメータ
格納域142とから構成される。語彙リスト格納域14
1は、実行された命令文の語彙のリストを格納し、パラ
メータ格納域142は、実行された命令文のパラメータ
を格納し、語彙リスト格納域141とパラメータ格納域
142とを対にして複数組存在する。命令管理手段15
は、命令管理テーブル14に格納されている語彙のリス
トおよびパラメータの管理を行なう。
The vocabulary analysis unit 11 reads a command sentence, divides the command sentence into vocabulary units, and generates a vocabulary list. The syntactic analysis unit 12 analyzes the vocabulary list and generates parameters necessary for executing the imperative sentence. The executing means 13 executes the command statement according to the parameters. The instruction management table 14 includes a vocabulary list storage area 141 and a parameter storage area 142. Vocabulary list storage area 14
1 stores a list of vocabularies of executed imperative sentences, parameter storage area 142 stores parameters of executed imperative sentences, and a plurality of sets of vocabulary list storage area 141 and parameter storage area 142 are paired. Exists. Command management means 15
Manages the vocabulary list and parameters stored in the command management table 14.

【0008】図3は図1の実施例の処理の流れ図で、以
下、図1の実施例の処理の流れを図3を参照して説明す
る。まず、語彙解析手段11は、実行する命令文の読込
みを行ない、読込んだ命令文の構文規則上の区切りとな
る位置の検出を行い、検出した区切り位置によって語彙
を抽出する。抽出した語彙のうち構文規則上必要な最小
限の語彙を連結した語彙のリストを生成する(ステップ
101)。次に、命令管理手段15は、語彙リスト格納
域141に語彙のリストと語彙解析手段11が生成した
語彙のリストとを順次比較し、語彙解析手段11が生成
した語彙のリストと同値の語彙のリストが格納されてい
る語彙リスト格納域141を検索する(ステップ10
2)。検索の結果、該当する語彙リスト格納域141が
見つかった場合には、見つかった語彙リスト格納域14
1と対になるパラメータ格納域142に格納されている
パラメータを実行対象のパラメータとし、命令実行手段
13にそのパラメータを渡す(ステップ103)。検索
の結果、該当する語彙リスト格納域141が見つからな
り場合は、語彙解析手段11が生成した語彙のリストを
構文解析手段12に渡す。構文解析手段12は、語彙の
リストを構文規則と照合し、構文規則上正しい命令文で
あれば命令文の実行に必要なパラメータを生成する(ス
テップ104)。命令管理手段15は、語彙のリストと
パラメータを語彙リスト格納域141とパラメータ格納
域142とにそれぞれ格納し、パラメータ格納域142
に格納したパラメータを実行対象のパラメータとする
(ステップ105,106)。命令実行手段13は、実
行対象のパラメータを解釈し、パラメータの意味に従っ
て命令文の実行を行う(ステップ107)。以上の処理
を実行する命令文に対して繰返し行う。
FIG. 3 is a flow chart of the process of the embodiment shown in FIG. 1. Hereinafter, the flow of the process of the embodiment shown in FIG. 1 will be described with reference to FIG. First, the vocabulary analysis unit 11 reads an imperative sentence to be executed, detects a position which is a delimiter in the syntax rule of the read imperative sentence, and extracts a vocabulary according to the detected delimiter position. A vocabulary list is created by connecting the minimum vocabulary necessary for the syntax rules among the extracted vocabularies (step 101). Next, the command management means 15 sequentially compares the vocabulary list and the vocabulary list generated by the vocabulary analysis means 11 in the vocabulary list storage area 141, and finds the same vocabulary as the vocabulary list generated by the vocabulary analysis means 11. The vocabulary list storage area 141 in which the list is stored is searched (step 10).
2). If the corresponding vocabulary list storage area 141 is found as a result of the search, the found vocabulary list storage area 14 is found.
The parameter stored in the parameter storage area 142 paired with 1 is set as the parameter to be executed, and the parameter is passed to the instruction executing means 13 (step 103). When the corresponding vocabulary list storage area 141 is not found as a result of the search, the vocabulary list generated by the vocabulary analysis means 11 is passed to the syntax analysis means 12. The syntactic analysis means 12 collates the vocabulary list with syntactic rules, and if the syntactic rules are correct, generates parameters necessary for executing the imperative sentence (step 104). The command management unit 15 stores the vocabulary list and the parameters in the vocabulary list storage area 141 and the parameter storage area 142, respectively, and the parameter storage area 142.
The parameter stored in is set as the parameter to be executed (steps 105 and 106). The instruction executing means 13 interprets the parameter to be executed and executes the statement according to the meaning of the parameter (step 107). The above processing is repeated for the statement to execute.

【0009】[0009]

【発明の効果】以上説明したように本発明は、一度実行
した命令文の語彙のリストとパラメータとを命令管理テ
ーブルに格納しておき、語彙解析手段で解析した語彙の
リストと同値のリストを命令管理テーブルから検索して
パラメータを得るので、命令文を実行するために必要な
パラメータを再度生成する必要がなく、パラメータを生
成のための処理時間を削減することができるという効果
がある。
As described above, according to the present invention, the vocabulary list and the parameters of the once-executed sentence are stored in the command management table, and the vocabulary list analyzed by the vocabulary analysis means is equivalent to the vocabulary list. Since the parameters are obtained by searching from the instruction management table, it is not necessary to regenerate the parameters required to execute the statement, and it is possible to reduce the processing time for generating the parameters.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】従来のインタプリタ処理方式のフロー図であ
る。
FIG. 2 is a flowchart of a conventional interpreter processing method.

【図3】図1の実施例の処理のフロー図である。FIG. 3 is a flow chart of processing of the embodiment of FIG.

【符号の説明】[Explanation of symbols]

11 語彙解析手段 12 構文解析手段 13 命令実行手段 14 命令管理テーブル 15 命令管理手段 141 語彙リスト格納域 142 パラメータ格納域 11 Vocabulary Analysis Means 12 Syntax Analysis Means 13 Instruction Execution Means 14 Instruction Management Tables 15 Instruction Management Means 141 Vocabulary List Storage Areas 142 Parameter Storage Areas

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 伸幸 愛知県名古屋市中区新栄二丁目28番22号中 部日本電気ソフトウェア株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuyuki Kato Chuo NEC Software Co., Ltd. 2-22-2, Shinei 2-chome, Naka-ku, Nagoya-shi, Aichi

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された命令文を語彙単位に区切り、
語彙のリストを生成する語彙解析手段と語彙のリストを
解析し命令文の実行に必要なパラメータを作成する構文
解析手段とパラメータによって命令文を実行する命令実
行手段とを有するインタプリタ処理方式において、一度
実行した命令文の語彙のリストおよび対応するパラメー
タを保存するための命令管理テーブルと、語彙解析手段
によって生成された語彙のリストが前記命令管理テーブ
ルに保存された語彙のリストと同値の場合には対応する
パラメータを読出して、このパラメータによって命令実
行手段に命令を実行させる命令管理手段とを有すること
を特徴とするインタプリタ処理方式。
1. The input sentence is divided into vocabulary units,
In an interpreter processing method having a vocabulary analysis means for generating a vocabulary list, a syntax analysis means for analyzing the vocabulary list and creating parameters necessary for executing the imperative sentence, and an instruction executing means for executing the imperative sentence by the parameter, A command management table for storing a list of executed vocabulary words and corresponding parameters, and a list of vocabulary generated by the vocabulary analysis means have the same value as the list of vocabulary stored in the command management table. An interpreter processing method comprising: an instruction management unit that reads out a corresponding parameter and causes the instruction execution unit to execute the instruction by the parameter.
JP24022892A 1992-09-09 1992-09-09 Delayed output control system Withdrawn JPH0689183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24022892A JPH0689183A (en) 1992-09-09 1992-09-09 Delayed output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24022892A JPH0689183A (en) 1992-09-09 1992-09-09 Delayed output control system

Publications (1)

Publication Number Publication Date
JPH0689183A true JPH0689183A (en) 1994-03-29

Family

ID=17056360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24022892A Withdrawn JPH0689183A (en) 1992-09-09 1992-09-09 Delayed output control system

Country Status (1)

Country Link
JP (1) JPH0689183A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179153A (en) * 2005-12-27 2007-07-12 Toshiba Corp Script program execution device, script program execution method, and optical disk device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179153A (en) * 2005-12-27 2007-07-12 Toshiba Corp Script program execution device, script program execution method, and optical disk device

Similar Documents

Publication Publication Date Title
KR101589621B1 (en) Method of establishing lexico semantic pattern knowledge for text analysis and response system
JPH0689183A (en) Delayed output control system
JPH1185766A (en) Keyword extraction method and apparatus, and storage medium storing keyword extraction program
JPH10187461A (en) Language processing system
JP3339006B2 (en) Parallel Noun Phrase Processor in Machine Translation Equipment
JP3050575B2 (en) Natural language automatic translator
JPH0287273A (en) Automatic translation device
JPH0410161A (en) Omission compensating processing device
JP2861630B2 (en) Connection structure analyzer
WO2024102449A1 (en) Systems and methods for enhanced machine learning techniques for knowledge map generation and user interface presentation
JPH01126767A (en) Dictionary referring device
JP2687334B2 (en) Machine translation equipment
JPH04237365A (en) Difference detecting system and automatic editing system for text processor
KR20010063805A (en) Method for lexical analysis for c program
JPH04273534A (en) Precompile system
JPH0231235A (en) Syntax analyzing system for plural languages
JPH0561679A (en) Interactive interface system
JPH04112365A (en) Machine translation device
JPH0540781A (en) Japanese-language syntax analysis system
JPH04119467A (en) Natural language translating method
JPH05158765A (en) System for acquiring c language differential information
JPH08194708A (en) Natural language processor
JPH0454563A (en) Translation system for japanese appositive noun phrase
JPH05120330A (en) Syntax analysis control system
JPH0454670A (en) Natural language analyzing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991130