JPH05150999A - Structuralization processing system for computer language - Google Patents

Structuralization processing system for computer language

Info

Publication number
JPH05150999A
JPH05150999A JP31122391A JP31122391A JPH05150999A JP H05150999 A JPH05150999 A JP H05150999A JP 31122391 A JP31122391 A JP 31122391A JP 31122391 A JP31122391 A JP 31122391A JP H05150999 A JPH05150999 A JP H05150999A
Authority
JP
Japan
Prior art keywords
language
pointer
statement
index table
row
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.)
Granted
Application number
JP31122391A
Other languages
Japanese (ja)
Other versions
JP3240647B2 (en
Inventor
Satoru Komiyama
悟 小宮山
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP31122391A priority Critical patent/JP3240647B2/en
Publication of JPH05150999A publication Critical patent/JPH05150999A/en
Application granted granted Critical
Publication of JP3240647B2 publication Critical patent/JP3240647B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To easily perform control by enabling fast processing even by an interpreter system or a one-line compilation system when the structuralization processing of programming language for an industrial computer is performed. CONSTITUTION:A next time line index table 3, an intermediate language index table 4, and a machine language index table 5 are provided for program control, and a this time line pointer 1 and a next time line pointer 2 are operated by which the table positions of them are designated. When input is performed from a program, values are set on the tables 3. 4, and 5 sequentially, and corresponding program codes are set on an intermediate language area 6 and a machine language area 7 designated by the tables 4 and 5. However, the classification code of each text is set on the forefront of each area of the intermediate language area 6. When the program is executed, initial values are inputted to the pointers 1, 2 first, thence, it is decided whether or not a corresponding text shows the target of block structuralization. When it is not the target of block structuralization, the corresponding text is executed, and pointer update processing is performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、工業用コンピュータの
リアルタイム・プログラミング言語の構造化処理方式に
関し、特に、ブロック構造文を支援する構造化処理方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a structured processing method for a real-time programming language of an industrial computer, and more particularly to a structured processing method for supporting a block structured statement.

【0002】[0002]

【従来の技術】工業用コンピュータのプログラムは、製
作者が設計し易いようにリアルタイムBASIC等の高
級言語で書かれることが多い。しかし、コンピュータが
実際に理解し、実行できるのは機械語なので、高級言語
によるプログラムは、インタープリータで逐語訳しなが
ら実行処理するか、コンパイラで一旦まとめ訳したのち
実行処理するかのいずれかを行うことになる。但し、近
年は、インタープリータとコンパイラ両方式の長所を持
ち作業効率を考慮して1行ずつ処理する1ラインコンパ
イル方式を採用するケースが一般的である。一方、プロ
グラムは、BASICの場合、“IF〜THEN〜EN
D IF”,“DO〜LOOP”,“SELECT〜E
ND SELECT”の如く“〜”に相当する条件設定
と実行内容の部分をブロック構造化し、所定のエリアに
格納しておいて実行処理の際に検索する文体と、“GO
TO ○○○”の如く実行内容を書き込んだ非ブロック
構造文の行番号“○○○”を指定して、その行番号へジ
ャンプさせる文体とがあり、通常はそれらが混交して使
用されている。
2. Description of the Related Art Programs for industrial computers are often written in a high-level language such as real-time BASIC so that a manufacturer can easily design them. However, since a computer can actually understand and execute a machine language, a program in a high-level language must either be translated and processed by an interpreter or processed once by a compiler and then executed. Will be done. However, in recent years, it is common to adopt a one-line compilation method that has the advantages of both interpreter and compiler expressions and processes one line at a time in consideration of work efficiency. On the other hand, in the case of BASIC, the program is “IF-THEN-EN
DIF "," DO ~ LOOP "," SELECT ~ E
"ND SELECT", a part of condition setting and execution contents corresponding to "~" is structured into a block structure, stored in a predetermined area and searched for in execution processing, and "GO".
There is a style in which the line number "○○○" of the non-block structure statement in which the execution content is written such as "TO ○○○" is specified and the line is jumped to that line number. Usually, these are mixed and used. There is.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
コンピュータ言語では、プログラミング言語の実行中に
ブロック構造を実行する場合、インタープリート又は1
ラインコンパイルする単位、例えば行の間でブロック構
造の内又は外に制御を移行する必要が生じ、このため実
行時にブロック構造を順番に認識しながら該当ブロック
を検索しなければならないので、“GOTO”文を使用
する非ブロック構造部分に比べると処理に時間が掛か
り、実用上不便である。図4は非ブロック構造文に対す
る実行処理の一例を示すフローチャートであり、図5は
ブロック構造を含む文に対する従来の実行処理の一例を
示すフローチャートであって、図示の如く、ブロック構
造文は工程数が増大しているうえ、図中の51及び52
で示す工程が特に手間が掛かる部分になっている。本発
明は、このような課題に鑑みて創案されたもので、イン
タープリータ方式又は1ラインコンパイル方式のプログ
ラミング言語でも、高速処理を可能にし、それらの利点
を生かしながら、次行及び該当構造文への制御を容易か
つ高速にするコンピュータ言語の構造化処理方式を提供
することを目的としている。
However, in a conventional computer language, when executing a block structure during execution of a programming language, an interpret or 1
Since it is necessary to transfer control to the inside or outside of the block structure between line-compilation units, such as lines, the corresponding block must be searched while sequentially recognizing the block structure at the time of execution, so "GOTO" Compared to the non-block structure part that uses a sentence, it takes more time to process and is inconvenient in practice. FIG. 4 is a flowchart showing an example of an execution process for a non-block structured statement, and FIG. 5 is a flowchart showing an example of a conventional execution process for a statement including a block structure. And 51 and 52 in the figure
The process indicated by is a particularly troublesome part. The present invention has been made in view of such problems, and enables high-speed processing even with an interpreter type or 1-line compile type programming language, and while making the best use of these advantages, the next line and the corresponding structural statement It is an object of the present invention to provide a structured processing method of a computer language that facilitates and speeds up the control of data.

【0004】[0004]

【課題を解決するための手段】本発明における上記課題
を解決するための手段は、条件設定と実行内容に対応す
る高級言語をそれぞれブロック構造化して所定のエリア
に格納し、実行処理の際に検索するコンピュータ言語の
構造化処理方式において、次回に実行する高級言語の各
行を指定する次回行インデックステーブルと、その高級
言語を機械語に翻訳する過程の中間言語インデックステ
ーブルと、実行処理に使用される機械語インデックステ
ーブルと、今回行インデックスポインタ及び次回行イン
デックスポインタとを備え、制御がブロック構造の文に
移行すると先頭,内部又は末尾の位置に応じて前記ポイ
ンタを操作し、次行に制御が移行する場合には次回行イ
ンデックステーブルのみを使用し、同一ネストレベル又
は終了の構造文を検索する場合には次回行インデックス
テーブル及び中間言語インデックステーブルの双方を使
用して機械語インデックステーブルを検索するコンピュ
ータ言語の構造化処理方式によるものとする。
Means for solving the above-mentioned problem in the present invention is to store a high-level language corresponding to condition setting and execution contents in a block structure and store it in a predetermined area. In the structured processing method of the computer language to be searched, the next-row index table that specifies each row of the high-level language to be executed next, the intermediate language index table in the process of translating the high-level language into the machine language, and the execution processing are used. A machine language index table and a row index pointer of this time and a row index pointer of the next time, and when the control shifts to a block structure statement, the pointer is operated according to the position of the beginning, inside or end, and the control is performed on the next line. When migrating, only the next row index table is used, and the structural statement of the same nesting level or end is used. Are by structuring processing method of a computer language to search machine language index table using both next row index table and the intermediate language index table when search.

【0005】[0005]

【作用】本発明は、工業用コンピュータでプログラムの
実行制御のためテーブル構造のエリアとそのポインタを
用意するもので、そのエリアは次行を指定するテーブル
と実際のプログラム(中間言語又は機械語)を指定する
テーブルとで成る。同様に、テーブル構造のエリア及び
ポインタはブロック構造文のためにも用意され、ブロッ
ク構造文に制御が移行すると、ブロック構造の先頭,内
部,末尾等の位置に応じて、それらのエリア及びポイン
タを操作し、次の行に制御を移行する場合は次行を指定
するテーブルを操作する。次行の位置を特に調査する必
要はない。ブロック構造の同一ネストレベル又は末尾に
相当するブロック構造文を発見した場合は、次行を指し
ているテーブルと各行の中間言語を指しているテーブル
とを操作して高速に検索する。
The present invention provides an area having a table structure and a pointer for controlling the execution of a program in an industrial computer. The area is a table for designating the next row and an actual program (intermediate language or machine language). And a table that specifies. Similarly, the area and pointer of the table structure are also prepared for the block structure statement, and when the control is transferred to the block structure statement, the area and pointer of the block structure statement are set according to the positions such as the beginning, the inside, and the end of the block structure. Operate and operate the table that specifies the next row when transferring control to the next row. It is not necessary to investigate the position of the next line. When a block structure statement corresponding to the same nesting level or the end of the block structure is found, the table pointing to the next line and the table pointing to the intermediate language of each line are operated to perform a high-speed search.

【0006】[0006]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。図1は、本発明の一実施例の説明図であ
る。同図において、1は今回行インデックスポインタ、
2は次回行インデックスポインタである。本発明では、
プログラム制御のために、次回行インデックステーブル
3、中間言語インデックステーブル4、機械語インデッ
クステーブル5を備え、そのテーブル位置を指定するた
めに、前記ポインタ1及び2を操作する。プログラムの
入力時には、入力順に各テーブル3,4,5に値をセッ
トする。また、それらのテーブル4,5が指定する中間
言語エリア6及び機械語エリア7に該当するプログラム
コードをセットする。但し、中間言語エリア6の各エリ
アの先頭には、各文の分類コードをセットする。プログ
ラムの実行時には、最初にインデックスポインタ1及び
2に初期値を入力する。今回行インデックスポインタ1
の初期値は“0”でよく、次回行インデックスポインタ
2は次回行インデックステーブル3の“0番目”を指す
ようにしておく。次に、該当する文がブロック構造化の
対象分であるか否かを判定する。ブロック構造文でなけ
れば該当文を実行し、後記するポインタ更新処理を行
う。ブロック構造文に対しては、図2に示すネストポイ
ンタ(STP)21及び構造テーブル22が用意され、
ネストポインタ21が該構造テーブル22の位置を指示
する。制御がブロック構造文の先頭に掛かると、前記ネ
ストポインタ21を“+1”進めて、構造テーブル22
のTYP欄にブロック構造文の種別を入力する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is an explanatory diagram of an embodiment of the present invention. In the figure, 1 is the current row index pointer,
2 is the next row index pointer. In the present invention,
For program control, a next-row index table 3, an intermediate language index table 4, and a machine language index table 5 are provided, and the pointers 1 and 2 are operated to specify the table positions. At the time of program input, values are set in each table 3, 4, and 5 in the order of input. Further, the program code corresponding to the intermediate language area 6 and the machine language area 7 designated by these tables 4 and 5 is set. However, the classification code of each sentence is set at the beginning of each area of the intermediate language area 6. When executing the program, first, initial values are input to the index pointers 1 and 2. This time row index pointer 1
May have an initial value of "0", and the next-row index pointer 2 points to "0-th" in the next-row index table 3. Next, it is determined whether or not the corresponding sentence is a target for block structuring. If it is not a block structure sentence, the corresponding sentence is executed and the pointer updating process described later is performed. For the block structure statement, the nest pointer (STP) 21 and the structure table 22 shown in FIG. 2 are prepared,
The nest pointer 21 points to the position of the structure table 22. When the control is applied to the beginning of the block structure statement, the nest pointer 21 is advanced by "+1" to change the structure table 22.
Enter the type of block structure sentence in the TYP field.

【0007】ここで、ブロック構造文の種別は、下記の
通りである。
Here, the types of block structure statements are as follows.

【0008】(1)繰り返し文;先頭は“DO”文,
“DO WHILE”文又は“DO UNTIL”文で
開始し、途中の同一ネストレベル文は“EXIT D
O”文が相当し、末尾は“LOOP”文,“LOOP
WHILE”文又は“LOOP UNTIL”文で終了
する。
(1) Repeated sentence; "DO" sentence at the beginning,
Start with a "DO WHILE" statement or a "DO UNTIL" statement, and insert the same exit level statement as "EXIT D"
"O" sentence corresponds, and the end is "LOOP" sentence, "LOOP"
It ends with a "WHILE" statement or a "LOOP UNIL" statement.

【0009】(2)条件判定文;先頭は“IF〜THE
N”文で開始し、同一ネストレベル文は“ELSE”文
又は“ELSE IF”文で、末尾は“END IF”
文で終了する。
(2) Condition judgment sentence; "IF to THE" at the beginning
Start with N "statement, the same nesting level statement is" ELSE "statement or" ELSE IF "statement, and ends with" END IF "
Ends with a sentence.

【0010】(3)分岐文;先頭は“SELECT C
ASE”文で開始し、同一ネストレベル文は“CAS
E”文が相当し、末尾は“END SELECT”文で
終了する。
(3) Branch statement; the beginning is "SELECT C
Start with the "ASE" statement and the same nesting level statement is "CAS"
The E "sentence corresponds and ends at the" END SELECT "sentence.

【0011】図3は、実施例の実行処理のフローチャー
トである。同図において、ブロック構造文の先頭に掛か
ると、文の種類に応じて第1の処理を行う。文が繰り返
し文の場合には、そのまま現在位置にセーブし、その位
置を前記構造テーブル22のIND欄に登録する。条件
判定文の場合は、その判定結果を構造テーブル22のF
LG欄に“1”を入力する。分岐文の場合は、その分岐
条件となる演算結果のデータの型を構造テーブル22の
TYP欄に入力し、実際のデータのDAT欄に入力する
か、又はPTR欄のポインタを操作する。ブロック構造
文の先頭の処理は、文が無条件の繰り返し文の場合には
何も行わず制御を次行に移行する。条件判定がある場合
は判定を行い、その結果によっては次回行インデックス
ポインタ2を操作して同一ネストレベルブロックの最終
行の次の行に制御を移行することもある。この場合、ネ
ストポインタ21は“−1”戻しておく。文が条件判定
文で判定結果が“真”の場合には、何も行わず制御を次
行に移行する。判定結果が“偽”の場合には、同一ネス
トレベルのブロック構造文又はその最終行のインデック
スを次回行インデックスポインタ2へ入れる。文が分岐
文の場合には、何も行わず制御を次行に移行する。図3
において、同一ネストレベルブロック構造文の処理は、
文の種類に応じて第2の処理を行う。繰り返し文の場合
は、繰り返しからの脱出文のみで、ネストポインタ21
を“−1”戻し、ブロックの最終行の次の行のインデッ
クスを次回行インデックスポインタ2に入れる。条件判
定文の同一ネストレベルブロック構造文の場合、条件判
定を含む文であれば条件判定を行い、その結果を構造テ
ーブル22のFLG欄に入力する。判定結果が“真”の
場合には何も行わず制御を次の行に移行する。判定結果
が“偽”の場合には同一ネストレベルのブロック構造文
又はその最終行のインデックスを次回行インデックスポ
インタ2へセットする。条件判定を含まない文であれ
ば、“真”の場合と同様に何も行わず制御を次の行に移
行する。文が分岐文の場合は、構造デーブル22上の演
算結果を満足するかどうか判断し、満足する場合には何
も行わず制御を次行に移行する。結果が不満足の場合に
は同一ネストレベルのブロック構造文又はその最終行の
インデックスを次回行インデックスポインタ2にセット
する。無条件の分岐文の場合は、何も行わず、制御を次
行に移行する。図3において、ブロックの最終行即ち末
尾であるときの処理は、文の種類に応じて第3の処理を
行う。無条件の繰り返し文の場合は、構造テーブル22
のインデックスポインタの指定先を次回行インデックス
ポインタ2にセットする。条件判定がある場合は判定を
行い、その判定結果に応じて、構造テーブル22のイン
デックスポインタの指定先を次回行インデックスポイン
タ2にセットするか、もしくは何も行わず制御を次行へ
移行する。この場合、ネストポインタ21は、“−1”
戻しておく。文が条件判定文の場合には、ネストポイン
タ21を“−1”戻し、何も行わずに制御を次行へ移項
する。文が分岐文の場合にも、ネストポインタ21を
“−1”戻し、何も行わずに制御を次行に移行する。
尚、今回行インデックスポインタ1及び次回行インデッ
クスポインタ2は、下記の如く更新する。即ち、 (1)次回行インデックスポインタ2の旧内容を今回行
インデックスポインタ1の新内容としてセットする。
FIG. 3 is a flowchart of the execution process of the embodiment. In the figure, when it reaches the beginning of the block structure sentence, the first processing is performed according to the type of sentence. When the sentence is a repetitive sentence, the sentence is saved as it is at the current position and the position is registered in the IND column of the structure table 22. In the case of a conditional judgment sentence, the judgment result is F of the structure table 22.
Enter "1" in the LG field. In the case of a branch statement, the data type of the operation result that is the branch condition is input to the TYP column of the structure table 22 and input to the DAT column of the actual data, or the pointer of the PTR column is operated. When the statement is an unconditional repeated statement, the processing at the beginning of the block structure statement does nothing and shifts control to the next line. If there is a condition determination, the determination is performed, and depending on the result, the next row index pointer 2 may be operated to shift the control to the row next to the last row of the same nest level block. In this case, the nest pointer 21 is returned by "-1". If the statement is a conditional statement and the result of the determination is "true", control is passed to the next line without performing anything. When the determination result is “false”, the block structure statement of the same nesting level or the index of the last row thereof is put into the next row index pointer 2. If the statement is a branch statement, control is transferred to the next line without doing anything. Figure 3
In the processing of the same nest level block structure statement,
The second processing is performed according to the type of sentence. In the case of a repeat statement, only the escape statement from the repeat is used, and the nest pointer 21
Is returned by "-1", and the index of the row next to the last row of the block is placed in the next row index pointer 2. In the case of the same nest level block structure statement of the condition judgment sentence, if it is a sentence including condition judgment, the condition judgment is performed and the result is input to the FLG column of the structure table 22. If the determination result is "true", nothing is performed and the control proceeds to the next line. When the determination result is “false”, the block structure statement of the same nesting level or the index of the last line thereof is set in the next line index pointer 2. If the statement does not include the condition determination, nothing is performed as in the case of "true", and the control shifts to the next line. If the statement is a branch statement, it is determined whether the operation result on the structure table 22 is satisfied, and if it is satisfied, nothing is performed and the control is shifted to the next line. If the result is not satisfied, the block structure statement at the same nesting level or the index of the last line is set in the next line index pointer 2. In the case of an unconditional branch statement, nothing is done and control is transferred to the next line. In FIG. 3, the last line of the block, that is, the process at the end is the third process according to the type of sentence. In the case of an unconditional repeated statement, the structure table 22
The designated destination of the index pointer of is set to the next row index pointer 2. If there is a condition determination, the determination is performed, and the designation destination of the index pointer of the structure table 22 is set to the next row index pointer 2 or no control is performed and the control shifts to the next row according to the determination result. In this case, the nest pointer 21 is "-1".
I will put it back. If the statement is a conditional decision statement, the nest pointer 21 is returned to "-1", and control is transferred to the next line without doing anything. Even if the statement is a branch statement, the nest pointer 21 is returned to "-1", and control is transferred to the next line without performing anything.
The current row index pointer 1 and the next row index pointer 2 are updated as follows. That is, (1) the old content of the next row index pointer 2 is set as the new content of the current row index pointer 1.

【0012】(2)次回行インデックステーブル3の次
回行を次回行インデックスポインタ2の新内容としてセ
ットする。
(2) The next row of the next row index table 3 is set as the new content of the next row index pointer 2.

【0013】として、今回行インデックスポインタ1の
新内容がブログラムの最終行であるか否かを確認し、最
終行でなければフローを反復し、最終行であればプログ
ラムを終了する。
As a result, it is confirmed whether or not the new content of the current row index pointer 1 is the last line of the program, and if it is not the last line, the flow is repeated, and if it is the last line, the program is ended.

【0014】本実施例は下記の効果が明らかである。The following effects are apparent in this embodiment.

【0015】(1)ブロック構造文をインタープリート
又は1ラインコンパイルするプログラミング言語で、高
速処理が可能になる。
(1) A programming language that interprets block structure statements or compiles one line enables high-speed processing.

【0016】(2)インタープリータ方式や1ラインコ
ンパイル方式の利点である修正や追加後の即時実行が可
能であり、行単位にプログラムを停止/再開しながらデ
バッグも可能である。
(2) Immediate execution after correction or addition, which is an advantage of the interpreter system or the one-line compilation system, is possible, and debugging can be performed while stopping / restarting the program line by line.

【0017】(3)次の行への制御及び該当するブロッ
ク構造文への制御が容易かつ高速に可能である。
(3) Control to the next line and control to the corresponding block structure statement can be performed easily and at high speed.

【0018】[0018]

【発明の効果】以上、説明したとおり、本発明によれ
ば、インタープリータ方式又は1ラインコンパイル方式
のプログラミング言語でも高速処理を可能にし、それら
の利点を生かしながら、次行及び該当構造文への制御を
容易かつ高速にするコンピュータ言語の構造化処理方式
を提供することができる。
As described above, according to the present invention, it is possible to perform high-speed processing even with an interpreter type or 1-line compile type programming language, and while taking advantage of these advantages, it is possible to move to the next line and the corresponding structural statement. It is possible to provide a structured processing method of a computer language that facilitates and speeds up control of.

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

【図1】本発明の一実施例の説明図。FIG. 1 is an explanatory diagram of an embodiment of the present invention.

【図2】実施例のポインタ及び構造テーブルの説明図。FIG. 2 is an explanatory diagram of a pointer and a structure table according to the embodiment.

【図3】実施例の実行処理のフローチャート。FIG. 3 is a flowchart of execution processing according to the embodiment.

【図4】従来例の実行処理のフローチャート。FIG. 4 is a flowchart of execution processing of a conventional example.

【図5】従来例の実行処理のフローチャート。FIG. 5 is a flowchart of execution processing of a conventional example.

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

1…今回行インデックスポインタ、2…次回行インデッ
クスポインタ、3…次回行インデックステーブル、4…
中間言語インデックステーブル、5…機械語インデック
ステーブル、6…中間言語エリア、7…機械語エリア、
21…ネストポインタ、22…構造テーブル。
1 ... Current row index pointer, 2 ... Next row index pointer, 3 ... Next row index table, 4 ...
Intermediate language index table, 5 ... Machine language index table, 6 ... Intermediate language area, 7 ... Machine language area,
21 ... Nest pointer, 22 ... Structure table.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 条件設定と実行内容に対応する高級言語
をそれぞれブロック構造化して所定のエリアに格納し、
実行処理の際に検索するコンピュータ言語の構造化処理
方式において、次回に実行する高級言語の各行を指定す
る次回行インデックステーブルと、その高級言語を機械
語に翻訳する過程の中間言語インデックステーブルと、
実行処理に使用される機械語インデックステーブルと、
今回行インデックスポインタ及び次回行インデックスポ
インタとを備え、制御がブロック構造の文に移行すると
先頭,内部又は末尾の位置に応じて前記ポインタを操作
し、次行に制御が移行する場合には次回行インデックス
テーブルのみを使用し、同一ネストレベル又は終了の構
造文を検索する場合には次回行インデックステーブル及
び中間言語インデックステーブルの双方を使用して機械
語インデックステーブルを検索することを特徴とするコ
ンピュータ言語の構造化処理方式。
1. A high-level language corresponding to condition setting and execution content is block-structured and stored in a predetermined area,
In the structured processing method of the computer language to be searched at the time of execution processing, the next-row index table that specifies each row of the high-level language to be executed next time, the intermediate language index table in the process of translating the high-level language into machine language,
Machine language index table used for execution processing,
It has a current row index pointer and a next row index pointer, and when the control shifts to a block-structured sentence, the pointer is operated according to the position of the beginning, internal or end, and when the control shifts to the next row, the next row A computer language characterized by using the index table only and searching the machine language index table using both the next row index table and the intermediate language index table when searching for structural statements with the same nesting level or end Structured processing method.
JP31122391A 1991-11-27 1991-11-27 Computer language structured processing Expired - Fee Related JP3240647B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31122391A JP3240647B2 (en) 1991-11-27 1991-11-27 Computer language structured processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31122391A JP3240647B2 (en) 1991-11-27 1991-11-27 Computer language structured processing

Publications (2)

Publication Number Publication Date
JPH05150999A true JPH05150999A (en) 1993-06-18
JP3240647B2 JP3240647B2 (en) 2001-12-17

Family

ID=18014581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31122391A Expired - Fee Related JP3240647B2 (en) 1991-11-27 1991-11-27 Computer language structured processing

Country Status (1)

Country Link
JP (1) JP3240647B2 (en)

Also Published As

Publication number Publication date
JP3240647B2 (en) 2001-12-17

Similar Documents

Publication Publication Date Title
US4712189A (en) Table driven translator
JPH07141201A (en) Improved method for two-path compiler
JPH0738158B2 (en) Code optimization method and compiler system
Neuhold The formal description of programming languages
JPH05150999A (en) Structuralization processing system for computer language
EP0638862B1 (en) Method and system for processing language
KR100301391B1 (en) Subroutine branch instruction execution method and device
JPS6149209A (en) Program execution system of numerical controller
JPS5846439A (en) Program editing method of computer
JP2751423B2 (en) Program debug processing method
US20040049622A1 (en) Programming tool
JPH04252336A (en) Program optimization processor
JP2607975B2 (en) Debug method
JPS61131124A (en) Conversation input processing system
JPH04369727A (en) Arithmetic unit
JPH0575841U (en) Program converter
JPH05108372A (en) System for outputting compiler optimization processing content
JPH01111236A (en) Computer
JPH07141156A (en) Information processor and its program combining method
JPS62251929A (en) Adding system for machine word instruction
JPS6391741A (en) Table access system
JPH04107605A (en) Control program language processor
JPS63201833A (en) Reference settling system for unsettled label
JPH02211589A (en) Data driving type control method
JPS629932B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20071019

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees