JP3034527B2 - Editor device - Google Patents

Editor device

Info

Publication number
JP3034527B2
JP3034527B2 JP32039287A JP32039287A JP3034527B2 JP 3034527 B2 JP3034527 B2 JP 3034527B2 JP 32039287 A JP32039287 A JP 32039287A JP 32039287 A JP32039287 A JP 32039287A JP 3034527 B2 JP3034527 B2 JP 3034527B2
Authority
JP
Japan
Prior art keywords
instruction
main
sub
definition
input
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.)
Expired - Fee Related
Application number
JP32039287A
Other languages
Japanese (ja)
Other versions
JPH01161528A (en
Inventor
俊介 上保
肇 三木原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP32039287A priority Critical patent/JP3034527B2/en
Publication of JPH01161528A publication Critical patent/JPH01161528A/en
Application granted granted Critical
Publication of JP3034527B2 publication Critical patent/JP3034527B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 本発明は,主命令と副命令という命令形式をとる命令
方式においてのエディタ装置に関し, 副命令が正確に生成できることを目的とし, 主命令と、主命令の命令ステートメントを包含する命
令ステートメントをもつ副命令を有するプログラムを編
集するエディタ装置において、 主命令と副命令を関連づけておくと共に、主命令の命
令ステートメント情報を記憶する記憶手段と、 副命令が入力された場合、当該記憶手段にて当該副命
令と関連づけられた主命令についての命令ステートメン
ト情報を、当該副命令の命令ステートメント情報として
転記する転記手段とを 有するよう構成するものである。 〔産業上の利用分野〕 本発明は,主命令と副命令という命令形式をとる命令
方式においてのエディタ装置に関するものである。 例えば,簡易言語を用いる事務処理システムなどにお
いては,利用者が簡易言語を用いて対話方式で集計帳票
等のプリントアウトのプログラムを組むことになる。こ
のようなときに,プログラムの命令として,いわば上位
にあたる主命令で上位の命令内容を指定した後に,いわ
ば下位にあたる副命令で次の詳細な処理内容を指定する
といったような,主命令と副命令の対の命令形式をとる
ものがある。このような命令形式においては,主命令と
副命令との関係を定義するために,利用者は副命令のプ
ログラム時において主命令の命令内容をプログラム上明
記していく必要がでてくる。これから,副命令のプログ
ラムに誤りがでてくる可能性があるので,これに対応す
るための措置を講ずる必要がある。 〔従来の技術〕 従来,プログラムミスがあるか否かを点検するための
方式としては,例えばソースプログラムがコボルなどの
高級言語で記述されるようなときにおいては,コンパイ
ル処理時での構文解析に従って実行されるのが最も一般
的である。しかるに,簡易言語をもってプログラムを記
述できるようにする場合にあっては,この記述されたプ
ログラムをコンパイルせずに中間言語から直接インター
プリータ方式で実行に移すということが行われることが
ある。このような場合は,コンパイル処理時に実行され
るようなプログラムの点検が実現できないことから,プ
ログラムミスの点検も基本的には利用者の点検に委ねら
れるものになっていた。 〔発明が解決しようとする問題点〕 しかるに,副命令のプログラム時において要求される
ことになる主命令の命令内容をプログラム上明記してい
くという作業は,極めて単純な作業故にプログラムミス
も多いのが実状である。従って,コンパイル段階におい
ての点検がなされないでプログラムの実行に入るような
簡易言語の処理システムにおいて,利用者が注意深くプ
ログラムしかつ点検していかなければならないような従
来方式では,このような命令形式については特に利用者
の負担が大きなものとなってしまうという問題点があっ
た。例えば、主命令がある処理を行うようにされてお
り、当該主命令の下で働く副命令が当該主命令が用いる
データを利用する処理を行うものである。当該副命令が
利用するオペランドについては自己の該当する主命令の
利用するオペランドを副命令中に自動的に記述できるよ
うにする。 本発明はかかる事情に鑑みてなされたものであって,
副命令に関する主命令の引用部分が自動的に生成できる
ようにすることで,副命令の生成が正確に実現できるよ
うにするエディタ装置の提供を目的とするものである。 〔問題点を解決するための手段〕 第1図は本発明の原理説明図である。 図中,1は利用者と対話しながら命令を生成していくと
ころの命令生成手段,2はこの命令生成手段1のための主
記憶装置である。3は命令生成手段1により主記憶装置
2上に展開される主命令の命令ステートメントであり,3
aはこの主命令3のキーワードの表わすデータのファイ
ル上での格納領域を示すポインタを格納するところの主
命令データポインタである。4は同じく命令生成手段1
による主記憶装置2上に展開される副命令の命令ステー
トメントである。4aはこの副命令4が主命令3を引用す
るために設けるところの副命令データポインタであり,
引用の実現のために対応するキーワードに関しての主命
令データポインタ3aのポインタを格納する。4bは副命令
4が実行する命令内容のためのキーワードの表わす詳細
データのファイル上での格納領域を示すポインタを格納
するところの副命令詳細データポインタである。5は対
となる主命令3と副命令4との主副関係を定義するため
に設けられる主副関連テーブルであり,主副関係を定義
するところの5aで示す主副関係定義部と,主命令データ
ポインタ3aのポインタを格納するところの5bで示すポイ
ンタ格納部とを備えるものである。 〔作 用〕 命令生成手段1は,主命令3の生成時において,主記
憶装置2上に主命令3の命令ステートメントを展開する
とともに,このようにして展開された主命令データポイ
ンタ3aのポインタをポインタ格納部5bにと格納する。そ
して,命令生成手段1は,生成する命令が,主副関係定
義部5aを参照することで既に入力されている主命令3と
主副関係のある副命令4であると判断されるときには,
この副命令4の命令ステートメントを主記憶装置2上に
展開するときにおいて,ポインタ格納部5bの格納するポ
インタ4を副命令データポインタ4aにと設定して,主命
令3の引用を実現する。 このように本発明によれば,利用者が入力しなくても
副命令の主命令の引用に関する部分が自動的に生成でき
ることになることから,副命令の生成が正確に実現で
き,利用者の点検も不要なものになる。 〔実施例〕 以下,実施例に従って本発明を詳細に説明する。 第6図は,本発明が適用される簡易データ処理装置の
構成図であり,第7図はその処理の態様を示す図であ
る。 第6図において,11は処理装置である。12は定義体作
成部であり,帳票定義体作成部13,画面定義体作成部14,
ファイル定義体作成部15及び処理定義体作成部16等の各
種の定義体作成部を含むものである。17は定義体ファイ
ルであり,対応する定義体作成部13ないし16において作
成されて各々独立のファイルに格納されるところの帳票
定義体18,画面定義体19,ファイル定義体20及び処理定義
体21等を含む。22は解釈実行部であり,処理定義体21に
よって定められた手続きに関する命令を解釈実行する。
23はCRTの如き表示装置,24はキーボードの如き入力装
置,25はプリンタの如き出力装置である。 このように構成される簡易データ処理装置において,
利用者は,表示装置23及び入力装置24を介して定義体作
成部12と対話することによって定義体18ないし21を作成
する。すなわち,各定義体作成部13ないし16は,入力装
置24からの利用者の指示に従って各種定義体18ないし21
の作成のための画面を表示装置23に表示し,この画面を
介して入力されることになる利用者からの入力情報をキ
ーとして他の資源から必要な情報を取り込んで,定義体
18ないし21を作成することになる。そして,このように
して作成された定義体18ないし21は,必要に応じて他の
定義体作成のための資源となるものである。定義体18な
いし21が作成されると,解釈実行部22は,コンパイル処
理を行うことなく処理定義体21によって定められた手続
きを解釈実行することにより,そこで指定された帳票定
義体18,画面定義体19,ファイル定義体20を利用して入出
力を行い,例えば出力装置25から伝票を発行するなどの
処理を実行することになる。 すなわち,例えば第7図に示すように,帳票定義体作
成部13は,項目およびその属性情報などの定義情報から
なる帳票定義体18を作成する。画面定義体作成部14も同
様である。また,ファイル定義体作成部15は,レコード
構成情報などを持つファイル定義体20を作成し,処理定
義体作成部16は,これら帳票定義体18,ファイル定義体2
0などを扱う命令群からなる手続き,すなわち処理定義
体21を作成する。 本発明のエディタ装置は,処理定義体21の手続きに関
しての命令の生成の際に適用されることになる。以下,
説明の便宜上,この命令を生成する機能をエディタ1aと
総称して説明することにする。 次に,集計表印刷の具体例に従って説明する。集計表
印刷とは,第7図の帳票定義体18の一例に示すような得
意先毎の取扱い金額の集計値を一覧表にしてプリントア
ウトしていくものである。この集計表印刷をプログラム
するためには,第2図に示すように,利用者は,まず主
命令の「集計表印刷」の入力表のキーワードで得意先の
取扱いデータが格納されているところのファイル名(こ
の例では,“得意先マスタ”)を指定するとともに,帳
票のキーワードで予め定められているところの集計帳票
の印刷形式を指定する。そして次の副命令の「明細印
刷」で,主命令の引用のための主命令で指定したファイ
ル名と集計帳票形式を入力表と帳票のキーワードで再度
指定するとともに,具体的な出力項目である得意先コー
ドを出力項目のキーワードで指定し,その得意先コード
の詳細な印刷位置である帳票コードを出力先項目のキー
ワードで指定するものである。以下同様に,出力項目と
出力先項目のキーワードで出力項目名とその印刷位置を
指定していくことで集計表印刷のプログラムの作成が実
現されることになる。なお,このプログラムの作成は,
例えばCRT上に命令毎に選択項目が表示されるよう構成
し,利用者がこの表示される選択項目を直接カーソル等
で選択することで実行されることになる。 このように,副命令の「明細印刷」のプログラム時に
は,主命令の引用のために主命令で指定したファイル名
と集計帳票形式を入力表と帳票のキーワードで再度指定
していかなければならないものであった。 本発明は、この点を改善して、上記の再度指定を行う
処理を、自動的に実現しようとするものである。この目
的を達成するために本発明が備えるところの主副関連テ
ーブル5の具体的な構成を第3図に示す。この図に示す
ように主副関連テーブル5は,対となる主命令と副命令
の主記憶装置上での展開位置を格納する領域と,主命令
のキーワードを格納する領域と,このキーワードで指定
されるデータのファイル上でのアドレス位置を表わすと
ころのポインタを格納する領域とを備えるものである。
ここで,この主副関連テーブル5は,主命令の数に対応
して設けられている。すなわち,主命令として「集計表
印刷」と「突き合せ」というものがあれば,それぞれに
対応したこの主副関連テーブル5が予め用意されること
になる。 なお,第3図に示す主副関連テーブル5では,種別を
格納する領域を設けている。この種別としては,例えば
“共有”と“親子”というものがある。“共有”は,主
命令のキーワードで指定するデータをそのまま副命令で
引用する形式のものをいい,“親子”は,主命令のキー
ワードで指定するデータから導出される所定の親子関係
にあるデータを副命令で引用する形式のものをいう。い
ずれにしろ,副命令で用いるデータを主命令のキーワー
ドで指定するデータから求めていくことについては変わ
ることはない。 次に,本発明のエディタ1aが実行する処理の概要を説
明することで,本発明の動作について説明する。 エディタ1aは,利用者からの命令の入力がなされる
と,この入力された命令を主記憶装置上に展開するとと
もに,この入力された命令が主命令であるときには,主
命令の属性情報である“位置",“種別",“ポインタ”を
その主命令のための主副関連テーブル5にと格納する。
主記憶装置上に展開される命令の展開形式の一例を第4
図に示す。この第4図の展開形式例は,第2図に対応す
るものである。エディタ1aは,このようにして主命令の
情報を主副関連テーブル5にと格納していくとともに,
この主副関連テーブル5を参照することで,利用者から
入力される命令が既に入力されているところの主命令と
対となる副命令であることを知ると,主記憶装置上に展
開されているこの副命令の主命令に関しての引用部分に
対して,主副関連テーブル5に格納されている主命令の
ポインタ情報を自動的に転写する処理を実行することに
なる。この処理により,第2図の例でみるならば,副命
令の「明細印刷」のプログラム作成時において,自動的
に主命令の「集計表印刷」で指定したファイル名と集計
帳票形式が転送される形で指定されることになるので,
利用者はこの部分については再度の入力が不要となり,
従って入力ミスもなくなることになる。 副命令は,通常は主命令の後に入力されることになる
が,CRT上に表示される選択項目をカーソル等で指定する
ことで命令のプログラム作成がなされるようにすると,
副命令から先に入力されてしまうようなことも起る。こ
のようなことを想定して,本発明では,副命令から入力
されるようなときには副命令で指定されるポインタ情報
を先に主副関連テーブル5のポインタ領域に格納してし
まい,後から入力されてくる主命令が指定するポインタ
情報がこれと一致するか否かを判断するよう構成するこ
とで,利用者に対して入力ミスをその場で通知できるよ
うにしてある。 以上に説明した処理内容を実現するために,エディタ
1aが実行するところのフローチャートを第5図に示す。
図中,ステップ52とステップ62が,主命令のポインタ情
報を副命令にと自動転写するための処理ステップであ
り,ステップ53とステップ63が,主命令が副命令より後
に入力されるときに行うためのエラーチェックのための
処理ステップである。 このように,本発明によれば,副命令の主命令引用部
分については利用者が入力しなくても自動的に生成され
ることになるので,従来に比べて極めて命令の入力が簡
単にできることになる。なお,主命令と副命令という対
の形式をとる命令としては,第2図で説明したような
「集計表印刷」の他に,入力表の項目と出力表の項目が
一致しているのか否かを判断し,その判断結果によって
処理を振り分ける「突き合せ」といったものがある。 〔発明の効果〕 以上説明したように本発明によれば,命令に関しての
入力量が少なくてすむことから,命令の入力が簡単にな
ってプログラム効率が高められるとともに命令の重複す
る部分については自動的に命令が作成されることになる
ので入力ミスがなくなることになる。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an editor device in an instruction system having an instruction format of a main instruction and a sub-instruction, which aims to accurately generate sub-instructions. In an editor apparatus for editing a program having a sub-instruction having an instruction statement including an instruction statement, storage means for associating a main instruction with a sub-instruction and storing instruction statement information of the main instruction; In this case, there is provided a transcription means for transcribing the instruction statement information of the main instruction associated with the sub-instruction in the storage means as the instruction statement information of the sub-instruction. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an editor device in an instruction system having an instruction format of a main instruction and a sub-instruction. For example, in an office processing system using a simple language, a user composes a printout program such as a tally form in an interactive manner using a simple language. In such a case, as the program instructions, the main instruction and the sub-instruction, such as specifying the higher-level instruction content with a higher-order main instruction and then specifying the next detailed processing content with a lower-order sub-instruction Some take the form of a pair of instructions. In such an instruction format, in order to define the relationship between the main instruction and the sub-instruction, it is necessary for the user to specify the instruction content of the main instruction on the program when programming the sub-instruction. From now on, there is a possibility that an error will occur in the program of the sub-instruction, and it is necessary to take measures to cope with this. [Prior Art] Conventionally, as a method for checking whether there is a program error, for example, when a source program is described in a high-level language such as Kobol, a syntax analysis at a compile process is performed. It is most commonly performed. However, in a case where a program can be described in a simple language, the described program may be directly executed from an intermediate language by an interpreter method without being compiled. In such a case, the check of the program executed at the time of the compiling process cannot be realized, so that the check for the program mistake is basically left to the user's check. [Problems to be Solved by the Invention] However, the task of specifying the instruction content of the main instruction, which is required at the time of programming the sub-instruction, in the program is an extremely simple task, and therefore causes many program errors. Is the actual situation. Therefore, in a conventional system in which a user must carefully program and check in a simple language processing system in which the program is executed without checking at the compilation stage, such an instruction format is used. However, there is a problem that the burden on the user becomes particularly large. For example, a main instruction is configured to perform a certain process, and a sub-instruction working under the main instruction performs a process using data used by the main instruction. As for the operand used by the sub-instruction, the operand used by the corresponding main instruction can be automatically described in the sub-instruction. The present invention has been made in view of such circumstances,
It is an object of the present invention to provide an editor device that can automatically generate a sub-instruction by automatically generating a reference portion of a main instruction relating to a sub-instruction. [Means for Solving the Problems] FIG. 1 is an explanatory view of the principle of the present invention. In the figure, reference numeral 1 denotes an instruction generating means for generating an instruction while interacting with a user, and 2 denotes a main storage device for the instruction generating means 1. Reference numeral 3 denotes an instruction statement of a main instruction developed on the main storage device 2 by the instruction generating means 1.
a is a main instruction data pointer for storing a pointer indicating a storage area on the file of data represented by the keyword of the main instruction 3 on a file. 4 is the instruction generating means 1
Is an instruction statement of a sub-instruction developed on the main storage device 2. 4a is a sub-instruction data pointer provided by the sub-instruction 4 to cite the main instruction 3.
The pointer of the main instruction data pointer 3a for the corresponding keyword is stored for realizing the quotation. Reference numeral 4b denotes a sub-instruction detailed data pointer for storing a pointer indicating a storage area on the file of the detailed data represented by the keyword for the instruction content executed by the sub-instruction 4. Reference numeral 5 denotes a main / sub relation table provided for defining the main / sub relation between the main instruction 3 and the sub-instruction 4 which form a pair. And a pointer storage section 5b for storing a pointer of the instruction data pointer 3a. [Operation] The instruction generation means 1 expands the instruction statement of the main instruction 3 on the main storage device 2 when generating the main instruction 3, and also stores the pointer of the main instruction data pointer 3a expanded in this way. Is stored in the pointer storage unit 5b. When the instruction generating means 1 determines that the generated instruction is the sub-instruction 4 having the main-sub relation with the already inputted main instruction 3 by referring to the main-sub relation definition part 5a,
When the instruction statement of the sub-instruction 4 is expanded on the main storage device 2, the pointer 4 stored in the pointer storage unit 5b is set to the sub-instruction data pointer 4a, and the main instruction 3 is referred to. As described above, according to the present invention, the portion relating to the quotation of the main instruction of the sub-instruction can be automatically generated without inputting by the user. Inspection becomes unnecessary. EXAMPLES Hereinafter, the present invention will be described in detail with reference to examples. FIG. 6 is a block diagram of a simplified data processing device to which the present invention is applied, and FIG. 7 is a diagram showing an aspect of the processing. In FIG. 6, reference numeral 11 denotes a processing device. Reference numeral 12 denotes a definition body creation section, which includes a form definition body creation section 13, a screen definition body creation section 14,
It includes various definition body creation units such as a file definition body creation unit 15 and a process definition body creation unit 16. Reference numeral 17 denotes a definition file, which is a form definition 18, a screen definition 19, a file definition 20, and a processing definition 21 that are created in the corresponding definition creation units 13 to 16 and stored in independent files. And so on. Reference numeral 22 denotes an interpretation execution unit which interprets and executes an instruction related to a procedure defined by the processing definition body 21.
23 is a display device such as a CRT, 24 is an input device such as a keyboard, and 25 is an output device such as a printer. In the simple data processing device configured as described above,
The user creates the definition bodies 18 to 21 by interacting with the definition body creation unit 12 via the display device 23 and the input device 24. That is, each of the definition units creating units 13 to 16 performs various definition units 18 to 21 in accordance with a user's instruction from the input device 24.
A screen for creating a document is displayed on the display device 23, and necessary information from other resources is fetched using the input information from the user to be input via this screen as a key, and the definition
18 or 21 will be created. The definition bodies 18 to 21 created in this way serve as resources for creating other definition bodies as needed. When the definition bodies 18 to 21 are created, the interpretation execution unit 22 interprets and executes the procedure defined by the processing definition body 21 without performing the compile processing, so that the form definition body 18 and the screen definition specified therein are interpreted and executed. Input / output is performed using the file 19 and the file definition 20, and processing such as issuing a slip from the output device 25 is executed. That is, for example, as shown in FIG. 7, the form definition body creation unit 13 creates a form definition body 18 including definition information such as items and their attribute information. The same applies to the screen definition body creating unit 14. Further, the file definition body creation unit 15 creates a file definition body 20 having record configuration information and the like, and the processing definition body creation unit 16 executes the form definition body 18, the file definition body 2
A procedure consisting of an instruction group handling 0 and the like, that is, a process definition body 21 is created. The editor device of the present invention is applied when generating an instruction related to the procedure of the process definition body 21. Less than,
For convenience of explanation, the function of generating this instruction will be generically described as an editor 1a. Next, a description will be given in accordance with a specific example of printing a totaling table. The tabulation table printing is to print out the tabulated value of the handling amount for each customer as shown in an example of the form definition body 18 in FIG. In order to program this summary table printing, as shown in FIG. 2, the user first needs to store the customer's handling data in the keyword of the input table of the "print summary table" of the main command. A file name (in this example, “customer master”) is specified, and a print format of a totalization form, which is predetermined by a form keyword, is specified. Then, in the next sub-instruction, "Detailed printing", the file name and totaling form format specified in the main instruction for citing the main instruction are specified again by the input table and the form keywords, and the specific output items The customer code is specified by the keyword of the output item, and the form code that is the detailed printing position of the customer code is specified by the keyword of the output destination item. Similarly, by specifying the output item name and its print position using the keywords of the output item and the output destination item, the creation of the program for printing the summary table is realized. The creation of this program
For example, the configuration is such that a selection item is displayed for each command on the CRT, and the user directly selects the displayed selection item with a cursor or the like to execute the operation. As described above, in the program of the sub-instruction "print detail", the file name and the summary form format specified by the main instruction must be specified again by the input table and the form keyword to refer to the main instruction. Met. The present invention is intended to improve this point and to automatically realize the above-mentioned process of specifying again. FIG. 3 shows a specific configuration of the main / sub relation table 5 provided by the present invention to achieve this object. As shown in this figure, the main / sub relation table 5 includes an area for storing a development position of a main instruction and a sub-instruction to be paired on the main storage device, an area for storing a keyword of the main instruction, and a designation by this keyword. And an area for storing a pointer indicating the address position of the data to be written on the file.
Here, the main / sub relation table 5 is provided corresponding to the number of main instructions. In other words, if there are "main tabulation printing" and "matching" as main commands, the main / sub relation table 5 corresponding to each of them is prepared in advance. In the main / sub relation table 5 shown in FIG. 3, an area for storing the type is provided. This type includes, for example, “shared” and “parent and child”. “Shared” refers to a format in which data specified by the keyword of the main instruction is quoted as it is in the sub-instruction. “Parent” refers to data that has a predetermined parent-child relationship derived from the data specified by the keyword of the main instruction. Is referred to in a sub-instruction. In any case, there is no change in obtaining the data used in the sub-instruction from the data specified by the keyword of the main instruction. Next, the operation of the present invention will be described by describing the outline of the processing executed by the editor 1a of the present invention. When an instruction is input from the user, the editor 1a expands the input instruction on the main storage device. When the input instruction is the main instruction, the editor 1a stores the attribute information of the main instruction. The "position", "type", and "pointer" are stored in the main / sub relation table 5 for the main instruction.
An example of the expansion format of the instruction expanded on the main storage device is the fourth.
Shown in the figure. The example of the development format in FIG. 4 corresponds to FIG. The editor 1a stores the main instruction information in the main / sub relation table 5 in this manner,
By referring to the main / sub relation table 5, if it is found that the command input by the user is a subcommand which is a pair with the main command already input, the command is expanded on the main storage device. The process of automatically transferring the pointer information of the main instruction stored in the main / sub relation table 5 to the reference portion of the main instruction of the sub instruction is executed. By this processing, as shown in the example of FIG. 2, when the program for the sub-instruction “print detail” is created, the file name and the tabulation form specified in the main instruction “summary table printing” are automatically transferred. Is specified in the form
The user does not need to re-enter this part,
Therefore, input errors are eliminated. A sub-instruction is usually input after the main instruction. However, if an instruction program is created by specifying a selection item displayed on the CRT with a cursor or the like,
It may happen that the sub-command is input first. Assuming such a situation, in the present invention, when input is made from a sub-instruction, the pointer information specified by the sub-instruction is stored in the pointer area of the main / sub relation table 5 first, By judging whether or not the pointer information specified by the received main instruction matches this, it is possible to notify the user of an input error on the spot. To implement the processing described above, an editor
FIG. 5 shows a flowchart executed by 1a.
In the figure, steps 52 and 62 are processing steps for automatically transferring the pointer information of the main instruction to the sub-instruction, and steps 53 and 63 are performed when the main instruction is input after the sub-instruction. This is a processing step for error checking. As described above, according to the present invention, the main command cited portion of the sub-command is automatically generated without the user inputting it, so that the input of the command can be made much easier than in the past. become. In addition, as an instruction taking a pair form of a main instruction and a sub-instruction, in addition to “printing of a summary table” as described in FIG. 2, whether or not the items in the input table and the items in the output table match. There is a method such as “matching” in which the judgment is made and the processing is distributed according to the judgment result. [Effects of the Invention] As described above, according to the present invention, since the input amount of an instruction can be reduced, the input of the instruction can be simplified, the program efficiency can be improved, and the overlapping part of the instruction can be automatically performed. Since an instruction is created in a typical manner, input errors are eliminated.

【図面の簡単な説明】 第1図は本発明の原理説明図, 第2図は集計表印刷命令の命令形式の説明図, 第3図は本発明の主副関連テーブルの構成図, 第4図は主記憶装置上に展開される命令展開形式の説明
図, 第5図は本発明の実行するフローチャート, 第6図は本発明が適用される簡易データ処理装置の構成
図, 第7図は第6図の簡易データ処理装置の処理の一例の説
明図である。 第1図において,1は命令生成手段,2は主記憶装置,3は主
命令,4は副命令,5は主副関連テーブルである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory diagram of the principle of the present invention, FIG. 2 is an explanatory diagram of an instruction format of a tally table print instruction, FIG. 3 is a configuration diagram of a main / sub relation table of the present invention, FIG. FIG. 5 is an explanatory diagram of an instruction expansion format expanded on a main storage device, FIG. 5 is a flowchart executed by the present invention, FIG. 6 is a configuration diagram of a simplified data processing device to which the present invention is applied, and FIG. FIG. 7 is an explanatory diagram of an example of a process of the simple data processing device of FIG. 6; In FIG. 1, 1 is an instruction generating means, 2 is a main storage device, 3 is a main instruction, 4 is a sub-instruction, and 5 is a main-sub relation table.

フロントページの続き (72)発明者 上保 俊介 石川県河北郡宇ノ気町字宇野気ヌ98番地 の2 株式会社ピーエフユー内 (72)発明者 三木原 肇 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内Continuation of front page    (72) Inventor Shunsuke Uebo               98 Unoki, Unoki-cho, Hebei-gun, Ishikawa Prefecture               No.2 within PFU Corporation (72) Inventor Hajime Mikihara               1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa                 Fujitsu Limited

Claims (1)

(57)【特許請求の範囲】 1.主命令と、主命令の命令ステートメントを包含する
命令ステートメントをもつ副命令を有するプログラムを
編集するエディタ装置において、 主命令と副命令を関連づけておくと共に、主命令の命令
ステートメント情報を記憶する記憶手段と、 副命令が入力された場合、当該記憶手段にて当該副命令
と関連づけられた主命令についての命令ステートメント
情報を、当該副命令の命令ステートメント情報として転
記する転記手段とを 有することを特徴とするエディタ装置。
(57) [Claims] In an editor apparatus for editing a program having a main instruction and a sub-instruction having an instruction statement including the instruction statement of the main instruction, storage means for associating the main instruction with the sub-instruction and storing instruction statement information of the main instruction And a transcription means for transcribing, when a sub-instruction is input, instruction statement information on a main instruction associated with the sub-instruction in the storage means as instruction statement information on the sub-instruction. Editor device to do.
JP32039287A 1987-12-18 1987-12-18 Editor device Expired - Fee Related JP3034527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32039287A JP3034527B2 (en) 1987-12-18 1987-12-18 Editor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32039287A JP3034527B2 (en) 1987-12-18 1987-12-18 Editor device

Publications (2)

Publication Number Publication Date
JPH01161528A JPH01161528A (en) 1989-06-26
JP3034527B2 true JP3034527B2 (en) 2000-04-17

Family

ID=18120957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32039287A Expired - Fee Related JP3034527B2 (en) 1987-12-18 1987-12-18 Editor device

Country Status (1)

Country Link
JP (1) JP3034527B2 (en)

Also Published As

Publication number Publication date
JPH01161528A (en) 1989-06-26

Similar Documents

Publication Publication Date Title
US6279006B1 (en) Structured data management system and computer-readable recording medium storing structured data management program
US5428791A (en) Configuration mechanism for a computer system having generic user interface and component-specific builder modules
US7721201B2 (en) Automatic authoring and publishing system
US20020062477A1 (en) Program specification generating system
JPH0869380A (en) Source program check device
JPH0540616A (en) Method for generating program specifications
JP3186117B2 (en) Automatic program generation system using data-centric software components
JP3034527B2 (en) Editor device
JPH06348766A (en) Method and device for incorporating tool
JPH0916382A (en) Program development supporting system
JP3337763B2 (en) Drawing description generator
JP2778544B2 (en) Overlay printing system
JP3345522B2 (en) Program development support device using data item parts
JPH05257665A (en) Hcp chart/source program interlocking editing device
JPH0689166A (en) Parts processing description expanding system
JPH0454635A (en) Screen specification defining method and business processing method
JP2802142B2 (en) Document input editing device
JPH06242933A (en) Program document maintenance device
JPH05134854A (en) Software development supporting device
JPH08137681A (en) Buildup system for graphical user interface
JPH03147127A (en) Job design supporting system
JPH03225523A (en) Operation visualization device for software component
JPH05150960A (en) Precompiler
JPH03222038A (en) Parameter input system in program
JPH05324290A (en) System for preparing graphical user interface

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees