JPH02308355A - Input procedure management system for interpreter - Google Patents

Input procedure management system for interpreter

Info

Publication number
JPH02308355A
JPH02308355A JP1129814A JP12981489A JPH02308355A JP H02308355 A JPH02308355 A JP H02308355A JP 1129814 A JP1129814 A JP 1129814A JP 12981489 A JP12981489 A JP 12981489A JP H02308355 A JPH02308355 A JP H02308355A
Authority
JP
Japan
Prior art keywords
procedure
procedures
input
series
interpreter
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
JP1129814A
Other languages
Japanese (ja)
Inventor
Mikito Sugano
幹人 菅野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1129814A priority Critical patent/JPH02308355A/en
Publication of JPH02308355A publication Critical patent/JPH02308355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To easily register the flow and the control of a series of procedures as one procedure by subjecting a series of input procedures to various editing works in accordance with necessity and automatically registering the flow of this series of procedures subjected to editing as one procedure by a system. CONSTITUTION:A means 5 (table) to edit/register the flow of a series of procedures is prepared in a main routine 1 of an interpreter besides a reading-in routine 2, an interpreting execution routine 3, and an output routine 4. Conse quently, an input management table 6 is accessed to display procedures inputted till then in the order of session number, and a user can edit them in a flow chart 8. If the user wants to register edited results as a new procedure, he registers them in the table 5 and gives a name. Thus, the registered procedure is only executed in following sessions to execute plural procedures.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 乙の発明は、入力された手続きを自動的に保持する手段
と、その保持した入力手続きを編集及び登録する手段を
備えたインタプリタシステムに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] Party B's invention relates to an interpreter system equipped with means for automatically retaining input procedures and means for editing and registering the input procedures. It is.

〔従来の技術〕[Conventional technology]

一般にインタプリタシステムでは、ユーザがシステムと
会話するような形式で実行が進んで行く。
Generally, in interpreted systems, execution proceeds as if the user interacted with the system.

そのため全体を考えてみたとき、ひとつひとつの実行は
必ずしも高速ではないが、実行の過程がわかりやすいと
いう利点がある。また、プログラミング環境としても最
適であるといえる。
Therefore, when considering the whole process, each execution is not necessarily fast, but the advantage is that the execution process is easy to understand. It can also be said to be an optimal programming environment.

従来これらの要求に応えるものとして、 LISPイン
タプリタ、 UNIXのシェル等さまざまなシステムが
ある。これらのシステムでは入力手続き管理方式を組み
入れているのが普通である。
Conventionally, various systems such as LISP interpreters and UNIX shells have been used to meet these demands. These systems typically incorporate input procedure management methods.

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

これらのシステムでは、ひとつひとつの個別の手続きを
再実行するのには向いているが一連の手続きの流れをm
集実行するには大きな手間がかかる。そこで2本発明で
は、これまでの入力手続き管理方式では単一の手vtき
に対してのみ焦点が当てられていたものを入力手続きの
流れにまで着目しEl集できるようにするものである。
These systems are suitable for re-executing individual procedures one by one, but they are suitable for re-executing the flow of a series of procedures.
It takes a lot of effort to compile and execute. Therefore, in the present invention, conventional input procedure management systems have focused only on a single hand movement, but now it is possible to focus on the flow of the input procedure and compile data.

本発明は。The present invention is.

インタプリタシステムに代表されるようなユーザとの会
話によって処理が行われるシステムにおいて、ユーザか
ら入力された一連の手続きを保持し。
In a system, such as an interpreter system, where processing is performed through conversation with the user, a series of procedures input by the user is held.

いつでも必要なときにそれらの一連の手続きの流れを任
意に編集し、その編集の結果を新たな手続きとして自動
的にシステムに登録するものであり。
The flow of these procedures can be arbitrarily edited whenever necessary, and the results of the editing can be automatically registered in the system as new procedures.

既存の入力手続き管理の改良である。This is an improvement to the existing input procedure management.

本発明は、インタプリタシステムにおける入力手続きの
一連の流れに着目し、それら一連の手続きに任意の編集
を行い、新しい汎用的な手続きとしてシステムに登録す
ることを目的としている。
The present invention focuses on a series of input procedures in an interpreter system, and aims to perform arbitrary editing on the series of procedures and register them as a new general-purpose procedure in the system.

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

インタプリタシステムに一連の手続きの流れを編集/登
録する手段を用意し、それを必要に応じて操作すること
によってシステムに新しい汎用手続きを構築する。
A means for editing/registering a series of procedure flows is provided in the interpreter system, and a new general-purpose procedure is constructed in the system by operating it as necessary.

〔作 用〕 この発明では、インタプリタシステムによって自動的に
保持された個々の入力手続きを必要に応じて編集し、そ
の結果を新たにシステムに登録することによって次のセ
ツションからはその登録した手続きを実行するだけで複
数の手続きを実行できる。
[Operation] In this invention, individual input procedures automatically stored by the interpreter system are edited as necessary, and the results are newly registered in the system, so that the registered procedures can be used from the next session. You can execute multiple procedures just by executing them.

〔実施例〕〔Example〕

以下2図を用いて本発明の一実施例を示す。第1図はイ
ンタプリタシステムの構成を示したものである。(1)
はインタプリタのメインルーチン、(2)は読み込みル
ーチン、(3)は解釈実行ルーチン、(4)は出力ルー
チンであり、コンピュータシステム上で動作しているプ
ログラムである。(3)で入力手続きが実行されるが、
その実行手続きは、主記憶上に存在したり、或いはファ
イルとして外部記憶に存在したりする。ここでは、(5
)のようなテーブルを仮定し、対応する手続きは全て主
記憶にあるとする。また、(6)は何回目の入力かを示
すセツション番号とユーザの入力した手続きを記憶する
比較的大きいテーブルであり、(5)と同様に主記憶−
Lに存在するものと仮定する。
An embodiment of the present invention will be shown below using two figures. FIG. 1 shows the configuration of an interpreter system. (1)
is the main routine of the interpreter, (2) is the reading routine, (3) is the interpretation execution routine, and (4) is the output routine, which are programs running on the computer system. The input procedure is executed in (3), but
The execution procedure exists in the main memory or as a file in external storage. Here, (5
), and assume that all the corresponding procedures are in main memory. Also, (6) is a relatively large table that stores the session number indicating the number of inputs and the procedure input by the user.
Assume that it exists in L.

先f、+11のインタプリタメインルーチンが起動され
ると、プログラムf2) 、 f31 、そして(4)
が順番に実行される。(4)の実行が終わると再び(2
)から同様の動作を行うループ上のプログラムとなって
いる。
When the interpreter main routine of destination f, +11 is started, programs f2), f31, and (4)
are executed in order. After execution of (4) is completed, (2
) is a program on a loop that performs similar operations.

一度ループするたびにセツション番号が1だけ増加する
。インタプリタメインルーチンの終了方法には、さまざ
まな手法が考えられるが、ここではある手続きZが実行
されると終了することとする。
Each time the loop is repeated, the session number increases by 1. Various methods can be considered for ending the interpreter main routine, but here it is assumed that the interpreter main routine ends when a certain procedure Z is executed.

(2)によって読み込まれた手続きは、(2)の内部で
テーブル(6)に記憶されると同時に(3)に渡される
The procedure read by (2) is stored in table (6) within (2) and simultaneously passed to (3).

(3)では対応する手続きをテーブル(5)からさがし
て逐次的に実行して行く。実行の結果が(4)に渡され
In (3), the corresponding procedure is searched from table (5) and executed sequentially. The execution result is passed to (4).

表示されるという構造となっている。幾つかのセツショ
ンが行われるとテーブル(6)には入力手続きのデータ
ベースが構築されている。このデータベースは入力手続
きEDITによって編集することができ、また編集結果
を新しい手続きとして登録することができるとする。
The structure is such that it is displayed. After several sessions are performed, a database of input procedures is constructed in table (6). This database can be edited using the input procedure EDIT, and the editing results can be registered as a new procedure.

第2図は(2)のプログラムのフローチャートである。FIG. 2 is a flowchart of the program (2).

入力装置からユーザが入力した文字を手続きとして読み
込む。もしエラーがあればエラーメツセージを出力する
。正常に入力された手続きは。
Reads the characters input by the user from the input device as a procedure. If there is an error, output an error message. The procedure was successfully entered.

フローチャートの中の(71によってテーブル(6)に
記憶される。記憶されるとき1よセツション番号も同時
にキーとして記憶される。
It is stored in the table (6) by (71) in the flowchart. When it is stored, the session number 1 is also stored as a key at the same time.

第3図は手続きEDITの大まかなフローチャー1、で
ある。入力手続きにEDITと入力するとテーブル(5
)を検索する乙とによって起動されろ。この手続きは、
テーブル(6)をアクセスしセツション番号順にそれま
で入力された手続きを表示する。ユーザはこれをフロー
チャート中(8)で編集する。編集の形態はさまざま考
えられるのでここでは触れない。
FIG. 3 is a rough flowchart 1 of the procedure EDIT. If you enter EDIT in the input procedure, the table (5
) to be launched by you. This procedure is
Access table (6) and display the procedures entered so far in order of session number. The user edits this in step (8) in the flowchart. There are various possible forms of editing, so I will not discuss them here.

(8)によって編集された結果を、もしユーザが新たな
手続きとしたいならばテーブル(5)に登録する。
If the user wishes to create a new procedure, the result edited in (8) is registered in table (5).

このときユーザは手続きに名前をつける。以後この名前
を入力するだけて起動されろ。もし1編集結果を新しい
手続きとしないならばなにもしない。
At this time, the user gives the procedure a name. From now on, just enter this name and it will start. If the result of editing 1 is not to be used as a new procedure, do nothing.

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

以上のようにこの発明によれば、入力された手続きを自
動的に管理する手段、その管理した一連の手続きに対し
て偏集する手段と、9fTだに手続きとして登録する手
段を設けたので、一連の手続きの流れや制御を簡単にひ
とつの手続きとして登録できる。
As described above, according to the present invention, there is provided a means for automatically managing input procedures, a means for biasing a series of managed procedures, and a means for registering as a 9fT procedure. A series of procedure flows and controls can be easily registered as a single procedure.

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

第1図はインタプリタの一実施例の構成図、第2図(よ
インタプリタの入力プログラムのフローチャート、第3
図は入力手続きEDITの大まかなフローチy −)で
ある。 図において、(1)はインタプリタメインルーチン。 (2)は読み込みルーチン、(3)は解釈実行ルーチン
2(4)は出力ルーチン、(5)は手続きテーブル、(
6(は入力管理テーブル、(7)は入力手続き登録ルー
チン。 (8)は禰集された結果を新しい手続きとして登録する
ルーチンである。
Fig. 1 is a block diagram of an embodiment of the interpreter, Fig. 2 is a flowchart of the input program of the interpreter, and Fig. 3 is a flowchart of the input program of the interpreter.
The figure shows a rough flowchart of the input procedure EDIT. In the figure, (1) is the interpreter main routine. (2) is the reading routine, (3) is the interpretation execution routine, (4) is the output routine, (5) is the procedure table, (
6 (is an input management table, (7) is an input procedure registration routine. (8) is a routine that registers the collected results as a new procedure.

Claims (1)

【特許請求の範囲】[Claims] 入力された手続きを解釈実行し結果を出力するインタプ
リタシステムにおいて、入力された手続きを編集可能な
テキスト形式で入力された順番に自動的に保持する手段
と、上記保持手段で保持している一連の入力手続きに対
し必要に応じてさまざまな編集作業を行う編集手段と、
編集、を施した一連の手続きの流れをシステムがひとつ
の手続きとして実行できる形式でシステムに自動的に登
録する手続きジェネレータを備えることを特徴とするイ
ンタプリタにおける入力手続き管理方式。
In an interpreter system that interprets and executes an input procedure and outputs the result, there is a means for automatically retaining the input procedure in an editable text format in the order in which it was input, and a series of procedures retained by the retention means. an editing means that performs various editing operations as necessary for the input procedure;
An input procedure management method in an interpreter, comprising a procedure generator that automatically registers a series of edited procedure flows in a system in a format that can be executed by the system as one procedure.
JP1129814A 1989-05-23 1989-05-23 Input procedure management system for interpreter Pending JPH02308355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1129814A JPH02308355A (en) 1989-05-23 1989-05-23 Input procedure management system for interpreter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1129814A JPH02308355A (en) 1989-05-23 1989-05-23 Input procedure management system for interpreter

Publications (1)

Publication Number Publication Date
JPH02308355A true JPH02308355A (en) 1990-12-21

Family

ID=15018883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1129814A Pending JPH02308355A (en) 1989-05-23 1989-05-23 Input procedure management system for interpreter

Country Status (1)

Country Link
JP (1) JPH02308355A (en)

Similar Documents

Publication Publication Date Title
CN106528613B (en) Intelligent answer method and device
JPH03241439A (en) Test data preparation tool
JPH02308355A (en) Input procedure management system for interpreter
JP3637606B2 (en) Data processing device
JP2720768B2 (en) Program customization equipment
JPS59183441A (en) Debug processing system of extended language
JP2765911B2 (en) Data driven control method and compiling device
JP2621591B2 (en) Data transfer method of database system
JPS62135958A (en) Simulation system
JPS63156254A (en) Control method for intermediate text by interpreter
JPH0243660A (en) Executive program selecting system
JPH04160433A (en) Information editing system
JPH04116721A (en) System definition directive analysis system
JPH0535497A (en) Realization system for logical language
JPS60178535A (en) Execution definition type command system for processing
JPH02307129A (en) Setting/deleting system for snap id output sentence
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPH06208489A (en) Program-sorted record division managing system
JPS6244804A (en) Method for accessing working program by numerical controller
JPH07295832A (en) Computer simulator
JPH0695309B2 (en) Reuse method of intermediate language text
JPH03282834A (en) Trace information output system
JPH04199230A (en) System for translating plural source program
JPH0275029A (en) Compiling processor
JPH02232731A (en) Data evaluating system