JPH01291328A - Interpreter type language system - Google Patents

Interpreter type language system

Info

Publication number
JPH01291328A
JPH01291328A JP12126588A JP12126588A JPH01291328A JP H01291328 A JPH01291328 A JP H01291328A JP 12126588 A JP12126588 A JP 12126588A JP 12126588 A JP12126588 A JP 12126588A JP H01291328 A JPH01291328 A JP H01291328A
Authority
JP
Japan
Prior art keywords
program
interpreted
circuit
comments
storage device
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
JP12126588A
Other languages
Japanese (ja)
Inventor
Yuji Nishimura
雄二 西村
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 JP12126588A priority Critical patent/JPH01291328A/en
Publication of JPH01291328A publication Critical patent/JPH01291328A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To store a program having the same size as the capacity of an interpreter type program storage circuit by sorting an interpreter type program into a comment and a program operating instruction and storing them. CONSTITUTION:An interpreter type program is sorted into a comment and a program operating instruction by a sorting circuit 4, the comment is stored in a comment storage use external storage device 10, and the program operating instruction is stored in an interpreter type program storage circuit 7. In such a state, at the time of displaying and editing the program, the comment and the program operating instruction which are stored, respectively are merged by a merging circuit 5, displayed and edited, and outputted to a display device 1. In such a way, the program storage circuit 7 all made useable by only the program operating instruction, and at the time of operation, it becomes unnecessary to sort the comment, and the operation can be executed at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はインタプリタ形言語システムに関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to interpreted language systems.

(従来の技術) 第3図は例えば市販のインタプリタ形プログラムを動作
するインタプリタ形言語システムの一般的な構成を示す
ブロック図であり、図において、1はインタプリタ形プ
ログラムの命令やコメントなどを表示する表示装置、2
はインタプリタ形プログラムの実行や編集時におけるコ
マンドやデータを投入する操作スイッチ、3はこのイン
タプリタ形言語システム全体を制御する制御回路、6は
インタプリタ形プログラムをインタプリタで動作させる
ためのインタプリタ命令を記憶するインタプリタ命令記
憶回路、7は実際に動作するインタプリタ形プログラム
を記憶するインタプリタ形プログラム記憶回路、9はイ
ンタプリタ形プログラムを保管するためのインタプリタ
形プログラム保管用外部記憶装置、8は制御回路3とイ
ンタプリタ形プログラム保管用外部記憶回路9との間で
インタプリタ形プログラムの人出力制御を実行する入出
力回路である。
(Prior Art) FIG. 3 is a block diagram showing the general configuration of an interpreted language system that operates, for example, a commercially available interpreted program. In the figure, 1 indicates instructions, comments, etc. of the interpreted program. Display device, 2
1 is an operation switch for inputting commands and data when executing or editing an interpreted program, 3 is a control circuit that controls the entire interpreted language system, and 6 stores interpreter commands for operating the interpreted program in the interpreter. An interpreted program storage circuit 7 stores an interpreted program that actually operates; 9 an external storage device for storing an interpreted program for storing the interpreted program; 8 a control circuit 3 and an interpreted program storage circuit; This is an input/output circuit that executes human output control of an interpreted program with the external storage circuit 9 for storing programs.

次に動作について説明する。まず、操作スイッチ2によ
って指定された該当プログラムは、制御回路3に人力さ
れ、入出力回路8によって、インタプリタ形プログラム
保管用外部記憶装置9に保管されている該当インタプリ
タ形プログラムを、インタプリタ形プログラム記憶回路
7に人力して記憶する。次にインタプリタ形プログラム
の実行については、操作スイッチ2によって指定された
該当プログラムは、制御回路3に人力され、インタプリ
タ命令記憶回路6に記憶されているインタプリタ命令に
よってインタプリタ形プログラム記憶回路7に記憶され
ている該当インタプリタ形プログラムを実行する。次に
インタプリタ形プログラムの編集をする場合には、編集
コマンド、コメント及びプログラム動作命令の編集デー
タ等を操作スイッチ2によって指定して制御回路3に人
力し、インタプリタ形プログラム記憶回路7に記憶され
ている該当インタプリタ形プログラムを表示装置1に表
示して編集する。次に該当プログラムの記憶、実行、編
集の一連作業が完了した段階でのインタプリタ形プログ
ラム保管用外部記憶装置9への保管については、操作ス
イッチ2によって指定されたプログラム名で、制御回路
3、入出力回路8により、インタプリタ形プログラム記
憶回路7に格納されているプログラムを、インタプリタ
形プログラム保管用外部記憶装置9へ保管する。
Next, the operation will be explained. First, the corresponding program specified by the operation switch 2 is manually input to the control circuit 3, and the input/output circuit 8 transfers the corresponding interpreted program stored in the external storage device 9 for interpreting program storage into the interpreted program storage. It is manually stored in circuit 7. Next, regarding the execution of the interpreted program, the corresponding program specified by the operation switch 2 is manually inputted to the control circuit 3 and stored in the interpreted program storage circuit 7 according to the interpreted command stored in the interpreted command storage circuit 6. Execute the corresponding interpreted program. Next, when editing an interpreted program, edit data such as editing commands, comments, and program operation commands are specified using the operation switch 2, inputted manually to the control circuit 3, and stored in the interpreted program storage circuit 7. The corresponding interpreted program is displayed on the display device 1 and edited. Next, when the series of operations of storing, executing, and editing the program have been completed, storage in the external storage device 9 for storing interpreted programs is performed using the program name specified by the operation switch 2 in the control circuit 3. The output circuit 8 stores the program stored in the interpreted program storage circuit 7 in the external storage device 9 for storing interpreted programs.

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

従来のインタプリタ形言語システムは以上のように構成
されているので、プログラム動作に不要なコメントもイ
ンタプリタ形プログラム記憶回路7に記憶することにな
るため、コメントは記憶容量を配慮してなるべく少く付
加する必要があり、実際的にはインタプリタ形プログラ
ム記憶回路7の容量よりも少ないプログラムの記憶容量
しか使用できないなどの問題点かあフた。
Since the conventional interpreted language system is configured as described above, comments unnecessary for program operation are also stored in the interpreted program storage circuit 7, so comments should be added as few as possible in consideration of storage capacity. However, there are problems such as the fact that only a program storage capacity smaller than the capacity of the interpreted program storage circuit 7 can actually be used.

この発明は上記のような問題点を解消するためになされ
たもので、インタプリタ形プログラム記憶回路7の記憶
容量は意識せずにコメントを付加することができるとと
もに、インタプリタ形プログラム記憶回路7の容量と同
じ大きさのプログラムを記憶することがてきるインタプ
リタ形言語システムを得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it is possible to add comments without being conscious of the storage capacity of the interpreted program storage circuit 7, and it is possible to add comments without being conscious of the storage capacity of the interpreted program storage circuit 7. The purpose is to obtain an interpreted language system that can store programs of the same size as .

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

この発明に係るインタプリタ形言語システムはインタプ
リタ形プログラムをコメントとプログラム動作命令とに
分類回路て分類し前記コメントはコメント記憶用外部記
憶装置に記憶し、またプログラム動作命令はインタプリ
タ形プログラム記憶回路に記憶する。そしてプログラム
表示・編集時には前記それぞれに記憶されているコメン
トとプログラム動作命令とを併合回路で併合して表示・
編集し表示装置に出力するようにしたものである。
The interpreted language system according to the present invention classifies an interpreted program into comments and program operation instructions using a classification circuit, stores the comments in an external storage device for storing comments, and stores program operation instructions in an interpreted program storage circuit. do. When displaying/editing a program, the comments and program operation commands stored in each of the above are merged by a merging circuit and displayed/edited.
It is designed to be edited and output to a display device.

〔作用) この発明におけるインタプリタ形言語システムは該当プ
ログラムの人力時はインタプリタ形プログラム保管用外
部記憶装置よりプログラムを入力してコメント記憶用外
部記憶装置からのコメントとインタプリタ形プログラム
記憶回路からのプログラム動作命令とに分類回路で分類
し記憶する。実行時はインタプリタ形プログラム記憶回
路のプログラム動作命令によって動作する。また表示・
編集時は前記コメントとプログラム動作命令とを同時に
使用・併合し表示・編集する。更にインタプリタ形プロ
グラム保管用外部記憶装置への記憶は前記コメントとプ
ログラム動作命令とを併合回路で併合して記憶する。
[Operation] In the interpreted language system of the present invention, when the program is written manually, the program is inputted from the external storage device for storing interpreted programs, and comments from the external storage device for storing comments and program operations from the interpreted program storage circuit are input. The classification circuit classifies and stores the commands. At the time of execution, the program operates according to the program operation command of the interpreted program storage circuit. Also displayed/
At the time of editing, the comments and program operation instructions are used and merged at the same time for display and editing. Further, the comments and program operation instructions are merged and stored in the external storage device for storing the interpreted program by a merge circuit.

(発明の実施例〕 以下、この発明の一実施例を図について説明する。図中
第3図と同一の部分は同一の符号をもフて図示した第1
図において、4はインタプリタ形プログラムをコメント
とプログラム動作命令とに分類する分類回路、5は分類
回路4で分類されたコメントとプログラム動作命令とを
併合する併合回路、10は分類回路4て分類されたコメ
ントを表示・編集用に記憶するコメント記憶用外部記憶
装置である。
(Embodiment of the Invention) Hereinafter, an embodiment of the present invention will be explained with reference to the drawings. In the drawings, the same parts as in FIG.
In the figure, 4 is a classification circuit for classifying interpreted programs into comments and program operation instructions, 5 is a merging circuit for merging comments and program operation instructions classified by classification circuit 4, and 10 is a classification circuit for classifying interpreted programs into comments and program operation instructions. This is an external storage device for storing comments that are stored for display and editing.

次に第2図の各種データの記憶形式を参照して動作につ
いて説明する。まず操作スイッチ2によって指定された
該当プログラムは、入出力回路8を介して、インタプリ
タ形プログラム保管用外部記憶装置9に第2図のインタ
プリタ形プログラム保管用外部記憶装置記憶データ例1
1に示すようなフォーマットで保管されている該当イン
タプリタ形プログラムを制御回路3に人力し、分類回路
4によってコメントとプログラム動作命令とに分類し、
そのうちコメントは第2図のコメント記憶用外部記憶装
置記憶データ例12に示すようなフォーマットでコメン
ト記憶用外部記憶装置10に記憶する。またプログラム
動作命令は第2図のインタプリタ形プログラム記憶回路
記憶データ例13に示すようなフォーマットでインタプ
リタ形プログラム記憶回路7に記憶する。次にインタプ
リタ形プログラムの実行に当フては、該当プログラムを
操作スイッチ2によって指定し、制御回路3に人力して
、インタプリタ命令記憶回路6に記憶されているインタ
プリタ命令によって、インタプリタ形プログラム記憶回
路7に記憶されているプログラム動作命令を順次実行す
る。次にインタプリタ形プログラムの編集に当っては、
編集コマンド、コメント及びプログラム動作命令の編集
データを操作スイッチ2によって指定して制御回路3に
入力し、コメント記憶用外部記憶装置10に記憶されて
いるコメントと、インタプリタ形プログラム記憶回路7
に記憶されているプログラム動作命令とを、併合回路5
によって併合し、表示装置1に表示して編集する。次に
該当プログラムの格納、実行、編集の一連作業が完了し
た段階でのインタプリタ形プログラム保管用外部記憶装
置9への保管については、操作スイッチ2によって指定
されたプログラム名を制御回路3に人力し、コメント記
憶用外部記憶装置10に記憶されているコメントと、イ
ンタプリタ形プログラム記憶回路7に記憶されているプ
ログラム動作命令とを、併合回路5によって併合し、入
出力回路8によりインタプリタ形プログラム保管用外部
記憶装置9へ保管する。
Next, the operation will be explained with reference to the storage formats of various data shown in FIG. First, the corresponding program specified by the operation switch 2 is transferred to the external storage device 9 for storing interpreted programs via the input/output circuit 8, and is stored in the external storage device 9 for storing interpreted programs shown in FIG.
The corresponding interpreted program stored in the format shown in 1 is manually input to the control circuit 3, and classified into comments and program operation instructions by the classification circuit 4.
Among them, the comments are stored in the external storage device 10 for comment storage in a format as shown in Example 12 of data stored in the external storage device for comment storage shown in FIG. Further, the program operation command is stored in the interpreted program storage circuit 7 in a format as shown in Example 13 of stored data in the interpreted program storage circuit in FIG. Next, when executing an interpreted program, specify the program using the operation switch 2, manually input it to the control circuit 3, and use the interpreted program storage circuit 6 to execute the interpreted program. The program operation instructions stored in 7 are sequentially executed. Next, when editing an interpreted program,
Edit data such as editing commands, comments, and program operation instructions are designated by the operation switch 2 and input into the control circuit 3, and the comments stored in the external storage device 10 for comment storage and the interpreted program storage circuit 7 are inputted into the control circuit 3.
The merging circuit 5 merges the program operation instructions stored in the
, and display and edit on the display device 1. Next, when the series of operations of storing, executing, and editing the corresponding program are completed, the program name specified by the operation switch 2 is manually entered into the control circuit 3 in order to store it in the external storage device 9 for storing the interpreted program. The comments stored in the external storage device 10 for comment storage and the program operation instructions stored in the interpreted program storage circuit 7 are merged by the merging circuit 5, and the input/output circuit 8 Save it to the external storage device 9.

なお、上記実施例では、分類回路4や併合回路5を電気
回路で実現した例について説明したが、制御回路3に分
類・併合プログラムを設けるように構成してもよく上記
実施例と同様の効果を奏する。
In the above embodiment, an example was explained in which the classification circuit 4 and the merging circuit 5 were realized by electric circuits, but the control circuit 3 may be configured to include a classification/merging program and the same effect as in the above embodiment can be obtained. play.

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

以上のように、この発明によればインタプリタ形プログ
ラムをコメントとプログラム動作命令とに分類、記憶で
きるようにコメント記憶用外部記憶装置とインタプリタ
形プログラム保管用外部記憶装置とを設け、またそれを
併合して表示・編集できるように分類回路及び併合回路
とをもって構成したので、プログラム記憶回路を全てプ
ログラム動作命令のみで使用でき、動作時にはコメント
の分類が不要のため高速化を図ることが可能となるばか
りか、コメントもプログラム記憶回路を配慮せずにプロ
グラム開発ができる等の効果がある。
As described above, according to the present invention, an external storage device for storing comments and an external storage device for storing interpreted programs are provided so that interpreted programs can be classified and stored into comments and program operation instructions, and they are also combined. Since the program is configured with a classification circuit and a merging circuit so that it can be displayed and edited, the program storage circuit can be used only with program operation instructions, and there is no need to classify comments during operation, making it possible to increase speed. Not only that, comments also have the effect of allowing program development without considering the program storage circuit.

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

第1図はこの発明の一実施例によるインタプリタ形言語
システムの構成を示すブロック図、第2図は第1図のシ
ステムを用いた時に記憶されるデータの記憶形式のフォ
ーマット例の説明図、第3図は従来のインタプリタ形言
語システムの構成を示すブロック図である。 図において、1は表示装置、3は制御回路、4は分類回
路、5は併合回路、6はインタプリ  7タ命令記憶回
路、7はインタプリタ形プログラム記憶回路、9はイン
タプリタ形プログラム保管用外部記憶装置、10はコメ
ント記憶用外部記憶装置である。 なお、図中、同一符号は同一または相当部分を示す。 特許出願人  三菱電機株式会社 代理人 弁理士  1)澤 博 昭 (外2名) 手続補正書(自発) 631ρ、3 昭和  年 °汀  日
FIG. 1 is a block diagram showing the configuration of an interpreted language system according to an embodiment of the present invention, FIG. FIG. 3 is a block diagram showing the configuration of a conventional interpreted language system. In the figure, 1 is a display device, 3 is a control circuit, 4 is a classification circuit, 5 is a merging circuit, 6 is an interpreter instruction storage circuit, 7 is an interpreted program storage circuit, and 9 is an external storage device for storing interpreted programs. , 10 is an external storage device for storing comments. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Patent applicant Mitsubishi Electric Co., Ltd. agent Patent attorney 1) Hiroshi Sawa (and 2 others) Procedural amendment (voluntary) 631ρ, 3 Showa year °Ten day

Claims (1)

【特許請求の範囲】[Claims] インタプリタ命令を格納するインタプリタ記憶回路とイ
ンタプリタ形プログラムを格納するインタプリタ形プロ
グラム記憶回路とを制御回路に接続し、操作スイッチか
らの指令によってインタプリタ形プログラムの実行や編
集時のコマンド及びデータを投入してインタプリタ形プ
ログラムを管理するインタプリタ形プログラム保管用外
部記憶装置と、前記インタプリタ形プログラム保管用外
部記憶装置と制御回路でインタプリタ形プログラムの入
出力制御を実行し、その結果を表示装置に出力するイン
タプリタ形言語システムにおいて、前記インタプリタ形
プログラムをコメントとプログラム動作命令とに分類す
る分類回路と、前記分類回路で分類されたコメントとプ
ログラム動作命令とを併合する併合回路と、前記分類回
路で分類されたコメントを表示、編集用に記憶するコメ
ント記憶用外部記憶装置とを備えたことを特徴とするイ
ンタプリタ形言語システム。
An interpreted memory circuit that stores interpreted commands and an interpreted program memory circuit that stores interpreted programs are connected to a control circuit, and commands and data for executing or editing an interpreted program are inputted by commands from an operation switch. An interpreted program storage device that manages the interpreted program, and an interpreted program storage device that executes input/output control of the interpreted program using the interpreted program storage device and a control circuit, and outputs the results to a display device. In the language system, a classification circuit that classifies the interpreted program into comments and program operation instructions, a merging circuit that merges the comments and program operation instructions classified by the classification circuit, and comments classified by the classification circuit. and an external storage device for storing comments for displaying and editing.
JP12126588A 1988-05-18 1988-05-18 Interpreter type language system Pending JPH01291328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12126588A JPH01291328A (en) 1988-05-18 1988-05-18 Interpreter type language system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12126588A JPH01291328A (en) 1988-05-18 1988-05-18 Interpreter type language system

Publications (1)

Publication Number Publication Date
JPH01291328A true JPH01291328A (en) 1989-11-22

Family

ID=14806973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12126588A Pending JPH01291328A (en) 1988-05-18 1988-05-18 Interpreter type language system

Country Status (1)

Country Link
JP (1) JPH01291328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121514A (en) * 2017-12-29 2018-06-05 北京奇虎科技有限公司 Metamessage update method, device, computing device and computer storage media

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121514A (en) * 2017-12-29 2018-06-05 北京奇虎科技有限公司 Metamessage update method, device, computing device and computer storage media

Similar Documents

Publication Publication Date Title
JP2786206B2 (en) Functional blueprint generation method
JPH01291328A (en) Interpreter type language system
JPS60262243A (en) High-speed arithmetic unit
JPH04130534A (en) Method and device for editing program
JPS63288357A (en) Data editing system
JPS6051955A (en) Numerical control device
JP2595714B2 (en) Trace data output editing processor
JPH02206861A (en) State transition table preparing device
JPS62135958A (en) Simulation system
JPS5933504A (en) Sequence controller
JPH03116223A (en) Screen control system for input of variable length data
JPH01123369A (en) Presentation device
JPS6152748A (en) Trace selection system of microprogram development device
JPH06332749A (en) Register analysis processor
JPS6079451A (en) Input and output device generation system
JPH0350672A (en) Interactive type text editor
JPH03226829A (en) Information processor
JPS61208131A (en) Program execution system
JPS5837748A (en) List processing device
JPS63201740A (en) Data editing system for service processor
JPS59172007A (en) Numerical controller
JPH02226411A (en) Secondary date system
JPH02100766A (en) Graphic editing device
JPH01163801A (en) Programmable controller
JPS62182931A (en) Data separating system