JPH04260134A - Name mark managing system for language processing system - Google Patents

Name mark managing system for language processing system

Info

Publication number
JPH04260134A
JPH04260134A JP2202191A JP2202191A JPH04260134A JP H04260134 A JPH04260134 A JP H04260134A JP 2202191 A JP2202191 A JP 2202191A JP 2202191 A JP2202191 A JP 2202191A JP H04260134 A JPH04260134 A JP H04260134A
Authority
JP
Japan
Prior art keywords
name
output
input
name mark
language processing
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
JP2202191A
Other languages
Japanese (ja)
Inventor
Nobuyuki Baba
信行 馬場
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2202191A priority Critical patent/JPH04260134A/en
Publication of JPH04260134A publication Critical patent/JPH04260134A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the readability by making name marks the same between an input specifications description or an input source program, and an output specifications description or an output object program by sharing name mark converting information by each function of a language processing system. CONSTITUTION:A name mark converting information generating means 3-3 provided on a language processing system 1 converts an input name mark into an output name mark, and registers their corresponding relation in name mark converting information 2. The name mark converting information retrieving means 3-2 of a name mark managing means 3 retrieves the name mark converting information 2 by setting the input name mark and the output name mark as keys and obtaines the output name mark and the input name mark. In such a manner, the input name mark and output name mark can be managed integrally. Also, the output name mark of a variable name, a function name and a type name, etc., in an output specifications description or an output source program can be displayed by the input name mark described by an input specifications description or an input source program.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は言語処理システムの名標
管理方式に関し、仕様記述もしくは言語記述を処理する
言語処理システムにおける入力/出力仕様記述中もしく
は入力ソースプログラム/出力オブジェクトプログラム
中の名標を管理する言語管理システムの名標管理方式に
関する。
[Field of Industrial Application] The present invention relates to a name management method for a language processing system, and relates to a name management method for a language processing system, and relates to a name management method for name management in an input/output specification description or an input source program/output object program in a language processing system that processes specification descriptions or language descriptions. This paper relates to name management methods for language management systems that manage language management systems.

【0002】0002

【従来の技術】従来のコンパイラ又は自動生成システム
などの言語処理システムの名標管理方式は、入力仕様記
述中又は入力ソースプログラム中の名標である入力名標
を、出力仕様もしくは出力オブジェクトプログラムの制
約を満たす名標である出力名標に変換している。
[Prior Art] Conventional name management methods of language processing systems such as compilers or automatic generation systems use input names, which are names in input specification descriptions or input source programs, to be used in output specifications or output object programs. It is converted into an output name name that is a name name that satisfies the constraints.

【0003】上記の制約とは、例えば実行マシン上の制
約等で、入力名標のうちのモジュール間で参照するもの
は、入力名標に文字数制約を受けた名標が出力名標とし
て扱われるといった制約や日本語の名標は使用できない
等の制約である。
[0003] The above-mentioned constraints are, for example, constraints on the execution machine, and when an input name is referenced between modules, a name subject to a character count constraint on the input name is treated as an output name. These restrictions include the inability to use name tags in Japanese.

【0004】また、上記の変換とは、例えば、他のモジ
ュールと名標とを共有する場合には、利用者の指定した
入力名標の先頭から8文字までを出力名標とし、モジュ
ール内で単独の入力名標を、コンパイラの方で自動的に
出力名標に生成する変換である。
[0004] Also, the above conversion means that, for example, when sharing a name tag with another module, up to 8 characters from the beginning of the input name specified by the user are used as the output name, and within the module. This is a conversion in which the compiler automatically generates an output name from a single input name.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の言語処
理システムの名標管理方式は、他のマシンよりソースプ
ログラムレベルでソフトウェアを移植した場合に、名標
の有効文字数が移植したマシンと移植されたマシンとで
異なっていた場合には、各名標のユニーク性が失われる
ことがあり、移植性が損なわれるという問題点を有して
いる。
[Problem to be Solved by the Invention] The name management method of the conventional language processing system described above has the problem that when software is ported from another machine at the source program level, the effective number of characters of the name does not match the ported machine. If the name tag is different from the other machine, the uniqueness of each name tag may be lost, which poses a problem in that portability is impaired.

【0006】また、移植性を向上するために移植する各
マシンの制約のうちで一番厳しい制約をベースにすると
入力仕様記述もしくは入力ソースプログラム上の名標が
制約を受けて、可読性が低下するという問題点を有して
いる。
[0006] Furthermore, if the most severe constraint among the constraints of each machine to be ported is used as a base to improve portability, the input specification description or the name on the input source program will be constrained, resulting in a decrease in readability. There is a problem with this.

【0007】さらに、出力仕様記述もしくは出力オブジ
ェクトプログラムに日本語の出力名標が使用できない場
合に、たとえ入力仕様記述もしくは入力ソースプログラ
ムに日本語名標の記述が可能であったとしても、各モジ
ュール間の結合は日本語でない名標で行われるために、
日本語で記述可能な入力名標がモジュール内に閉じた入
力名標でなければならないという制限が発生してしまう
ので、この場合に出力名標が英数字として表示されるた
めに、一つの名標の意味に対して複数の異なる名標を利
用者が意識しなければならず、やはり可読性が低下して
しまうという問題点を有している。
Furthermore, if Japanese output names cannot be used in the output specification description or output object program, even if Japanese names can be written in the input specification description or input source program, each module Since the connections between the two are made using non-Japanese names,
There is a restriction that the input name that can be written in Japanese must be an input name that is closed within the module, so in this case, the output name is displayed as alphanumeric characters, so one name The user has to be aware of a plurality of different names regarding the meaning of the name, which also has the problem of reducing readability.

【0008】[0008]

【課題を解決するための手段】本発明の言語処理システ
ムの名標管理方式は、言語処理システムの入力仕様記述
中又は入力ソースプログラム中の変数名,関数名や型名
等の名標である入力名標を、利用者の指定又は既定の名
標変換/生成規則に従い、出力仕様記述又は出力オブジ
ェクトプログラムの制約を満たす名標である出力名標に
変換し、前記入力名標および前記出力名標の対応関係を
各名標の共有レベルに応じて名標変換情報に登録する名
標変換情報生成手段と、入力名標をキーとして名標変換
情報より対応する出力名標を各名標の共有レベルに応じ
て検索するとともに、出力名標キーとして名標変換情報
より対応する入力名標を各名標の共有レベルに応じて検
索する名標変換情報検索手段と、を備えた名標管理手段
を含んで構成されている。
[Means for Solving the Problems] The name management method of the language processing system of the present invention uses names such as variable names, function names, type names, etc. in the input specification description or input source program of the language processing system. The input name is converted into an output name that is a name that satisfies the constraints of the output specification description or the output object program according to user specifications or default name conversion/generation rules, and the input name and the output name are Name name conversion information generation means that registers the correspondence of names in name name conversion information according to the sharing level of each name name; Name name conversion information search means for searching according to the sharing level and searching for a corresponding input name name from name conversion information as an output name key according to the sharing level of each name name. It is composed of means.

【0009】[0009]

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

【0010】図1は本発明の言語処理システムの名標管
理方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the name management system of the language processing system of the present invention.

【0011】図1を参照すると、本実施例は、名標管理
手段3を含む言語処理システム1と名標変換情報2とか
ら構成されている。さらに、前記名標管理手段3は、名
標変換/生成規則3−1と、名標変換情報検索手段3−
2と、名標変換情報生成手段3−3とから構成されてい
る。
Referring to FIG. 1, this embodiment comprises a language processing system 1 including name name management means 3 and name name conversion information 2. Furthermore, the name name management means 3 includes a name name conversion/generation rule 3-1 and a name name conversion information retrieval means 3-1.
2, and name conversion information generating means 3-3.

【0012】本発明の対象である言語処理システムとは
、コンパイラ,自動生成システム等や対応関係を参照す
る言語エディタ,ローダ等の各機能を含んでいるソフト
ウェア開発/実行環境である。
The language processing system that is the object of the present invention is a software development/execution environment that includes functions such as a compiler, an automatic generation system, a language editor that references correspondence, a loader, and the like.

【0013】そして、名標変換/生成規則3−1は、入
力仕様記述又は入力ソースプログラム上で利用者が指定
した名標である入力名標を、出力仕様記述又は出力オブ
ジェクトプログラム上の制約を満たす名標である出力名
標に変換/生成するための規則であり、利用者が指定し
た規則かシステムの既定値として持っている規則かを使
用する。
Name conversion/generation rule 3-1 converts the input name, which is the name specified by the user on the input specification description or the input source program, to the constraints on the output specification description or the output object program. This is a rule for converting/generating an output name that satisfies the name, and uses either a user-specified rule or a rule that the system has as a default value.

【0014】また、名標変換情報2は、入力名標と出力
名標との対応関係を示したものであり、それらの関係を
、共有レベルに応じたグループごとに階層的に管理して
いる。なお、共有レベルとは、モジュール内で閉じてい
るか、モジュール間で共有されているか、プログラム間
で共有されているかを指す指標である。そして、部分コ
ンパイル等を考慮すると、共有化された名標の対応関係
は、同時に複数のコンパイラもしくは自動生成システム
から参照/更新されることが考えられるために名標変換
情報2は、データベースシステム等の同時更新制御が可
能な手段によって実現されている。
[0014] Furthermore, name conversion information 2 indicates the correspondence between input name names and output name names, and these relationships are managed hierarchically for each group according to the sharing level. . Note that the sharing level is an index indicating whether it is closed within a module, shared between modules, or shared between programs. Considering partial compilation, etc., the shared name name correspondence may be referenced/updated by multiple compilers or automatic generation systems at the same time, so the name name conversion information 2 is This is realized by a means that allows simultaneous update control.

【0015】一方、名標変換情報検索手段3−2は、入
力名標または出力名標から、それぞれ対応する出力名標
または入力名標を名標変換情報2より共有レベルに応じ
て検索する手段である。
On the other hand, the name conversion information search means 3-2 is a means for searching the name conversion information 2 for the corresponding output name or input name from the input name or output name, depending on the sharing level. It is.

【0016】また、名標変換情報生成手段3−3は、グ
ループの入力名標から出力名標を生成し、その対応関係
を、名標変換情報2に共有レベルに従って登録している
Further, the name name conversion information generating means 3-3 generates an output name name from the input name name of the group, and registers the correspondence relationship in the name name conversion information 2 according to the sharing level.

【0017】次に、名標管理手段3の主要部分の動作を
説明する。
Next, the operation of the main parts of the name tag management means 3 will be explained.

【0018】図2は本実施例で入力として入力名標が指
定された時の動作の一例を示す流れ図である。
FIG. 2 is a flowchart showing an example of the operation when an input name mark is specified as an input in this embodiment.

【0019】図2に示すように、入力名標に対応する出
力名標を名標変換情報2から名標変換情報検索手段3−
2によって入力名標の共有レベルに従って検索し(3−
a1)、入力名標と出力名標との関係が既に定義されて
いる場合(3−b1)に、すなわち、検索しようとして
いる言語処理システム1自身あるいは名標変換情報2を
共有している他の言語処理システム1が既に対応関係を
定義していた場合に、検索された出力名標を返却する(
3−d1)。また、入力名標と出力名標との関係が未定
義の場合(3−b1)に、すなわち、名標変換情報2を
共有しているどの言語処理システム1も入力名標に対応
する出力名標を生成していない場合に、名標変換情報生
成手段3−3により、名標変換/生成規則3−1に従っ
て、対応する出力名標を生成し、入力名標と出力名標と
の対応関係を名標変換情報2に共有レベルに従って登録
し(3−c1)、生成された出力名標を返却する(3−
d1)。
As shown in FIG. 2, the output name name corresponding to the input name name is extracted from the name name conversion information 2 by name name conversion information retrieval means 3-.
2 to search according to the sharing level of the input name (3-
a1), when the relationship between the input name name and the output name name has already been defined (3-b1), that is, when the language processing system 1 to be searched or the name name conversion information 2 is shared; If the language processing system 1 has already defined the correspondence, return the searched output name (
3-d1). In addition, if the relationship between the input name name and the output name name is undefined (3-b1), that is, any language processing system 1 sharing the name name conversion information 2 will be able to use the output name corresponding to the input name name. If the name name has not been generated, the name name conversion information generating means 3-3 generates a corresponding output name name according to the name name conversion/generation rule 3-1, and determines the correspondence between the input name name and the output name name. Register the relationship in name conversion information 2 according to the sharing level (3-c1), and return the generated output name (3-c1).
d1).

【0020】図3は本実施例で入力として出力名標が指
定された時の動作の一例を示す流れ図である。
FIG. 3 is a flowchart showing an example of the operation when an output name mark is specified as an input in this embodiment.

【0021】図3に示すように、出力名標に対応する入
力名標を名標変換情報2から名標変換情報検索手段3−
2によって出力名標の共有レベルに従って検索し(3−
a2)、入力名標と出力名標との関係が既に定義されて
いる場合(3−b2)に、検索された入力名標を返却す
る(3−d2)。また、入力名標と出力名標との関係が
未定義の場合(3−b2)に、すなわち、名標変換情報
2を共有しているどの言語処理システム1も入力名標に
対応する出力名標を生成していない場合に、誤りを通知
する(3−c2)。
As shown in FIG. 3, the input name name corresponding to the output name name is extracted from the name name conversion information 2 by the name name conversion information retrieval means 3-.
2 to search according to the sharing level of the output name (3-
a2) If the relationship between the input name and the output name has already been defined (3-b2), the searched input name is returned (3-d2). In addition, if the relationship between the input name name and the output name name is undefined (3-b2), that is, any language processing system 1 sharing the name name conversion information 2 will be able to use the output name corresponding to the input name name. If the target has not been generated, an error is notified (3-c2).

【0022】[0022]

【発明の効果】以上説明したように、本発明の言語処理
システムの名標管理方式は、名標変換情報を言語処理シ
ステムの各機能で共有することにより、入力名標と出力
名標とを一体管理し、出力仕様記述中や出力オブジェク
トプログラム中の変数名,関数名や型名等の出力名標を
入力仕様記述もしくは入力ソースプログラムで記述され
ている入力名標で表示することが可能となり、入力仕様
記述又は入力ソースプログラムと出力仕様記述又は出力
オブジェクトプログラムとの中の名標が同一化されて可
読性が向上するという効果を有している。
[Effects of the Invention] As explained above, the name name management method of the language processing system of the present invention shares name name conversion information with each function of the language processing system, thereby converting input name names and output name names. It is now possible to centrally manage and display output names such as variable names, function names, and type names in output specification descriptions and output object programs with input names written in input specification descriptions or input source programs. This has the effect that the names in the input specification description or input source program and the output specification description or output object program are made the same, thereby improving readability.

【0023】さらに、各マシンごとに依存している出力
仕様記述もしくは出力オブジェクトプログラムの制約を
意識することなく、入力ソースプログラムもしくは入力
仕様を移植することが可能であるという効果を有してい
る。
A further advantage is that the input source program or input specifications can be ported without being aware of the constraints of output specification descriptions or output object programs that depend on each machine.

【0024】また、本発明の言語処理システムの名標管
理方式は、出力仕様記述もしくは出力オブジェクトプロ
グラム自体は、従来の形式を損なうことがないために、
出力仕様記述もしくは出力オブジェクトプログラムを実
行する場合に、従来の場合となんの変更もいらない利点
もあるという効果を有している。
Furthermore, the name management method of the language processing system of the present invention does not impair the conventional format of the output specification description or the output object program itself;
Another advantage is that when executing an output specification description or an output object program, no changes are required compared to the conventional case.

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

【図1】本発明の言語処理システムの名標管理方式の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a name management method of a language processing system of the present invention.

【図2】本実施例で入力として入力名標が指定された時
の動作の一例を示す流れ図である。
FIG. 2 is a flowchart showing an example of an operation when an input name mark is specified as an input in this embodiment.

【図3】本実施例で入力として出力名標が指定された時
の動作の一例を示す流れ図である。
FIG. 3 is a flowchart showing an example of the operation when an output name mark is specified as an input in this embodiment.

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

1    言語処理システム 2    名標変換情報 3    名標管理手段 3−1    名標変換/生成規則 3−2    名標変換情報検索手段 3−3    名標変換情報生成手段 1 Language processing system 2 Name conversion information 3 Name tag management means 3-1 Name conversion/production rules 3-2 Name conversion information search means 3-3 Name conversion information generation means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  言語処理システムの入力仕様記述中又
は入力ソースプログラム中の変数名,関数名や型名等の
名標である入力名標を、利用者の指定又は既定の名標変
換/生成規則に従い、出力仕様記述又は出力オブジェク
トプログラムの制約を満たす名標である出力名標に変換
し、前記入力名標および前記出力名標の対応関係を各名
標の共有レベルに応じて名標変換情報に登録する名標変
換情報生成手段と、入力名標キーとして名標変換情報よ
り対応する出力名標を各名標の共有レベルに応じて検索
するとともに、出力名標キーとして名標変換情報より対
応する入力名標を各名標の共有レベルに応じて検索する
名標変換情報検索手段と、を備えた名標管理手段を含む
ことを特徴とする言語処理システムの名標管理方式。
[Claim 1] Input name marks, which are names such as variable names, function names, and type names, in the input specification description of the language processing system or in the input source program, are converted/generated by a user's specification or by default name name conversion/generation. According to the rules, the name is converted into an output name that is a name that satisfies the constraints of the output specification description or the output object program, and the correspondence between the input name and the output name is converted according to the sharing level of each name. A means for generating name conversion information to be registered in the information, a corresponding output name name search from the name name conversion information as an input name name key according to the sharing level of each name name, and a name name conversion information as an output name key. 1. A name management method for a language processing system, comprising: name conversion information searching means for searching for a more corresponding input name according to the sharing level of each name.
JP2202191A 1991-02-15 1991-02-15 Name mark managing system for language processing system Pending JPH04260134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2202191A JPH04260134A (en) 1991-02-15 1991-02-15 Name mark managing system for language processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2202191A JPH04260134A (en) 1991-02-15 1991-02-15 Name mark managing system for language processing system

Publications (1)

Publication Number Publication Date
JPH04260134A true JPH04260134A (en) 1992-09-16

Family

ID=12071335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2202191A Pending JPH04260134A (en) 1991-02-15 1991-02-15 Name mark managing system for language processing system

Country Status (1)

Country Link
JP (1) JPH04260134A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020008867A1 (en) 2018-07-03 2020-01-09 オムロン株式会社 Control device and control method
WO2020008855A1 (en) 2018-07-03 2020-01-09 オムロン株式会社 Compiler device and compiling method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020008867A1 (en) 2018-07-03 2020-01-09 オムロン株式会社 Control device and control method
WO2020008855A1 (en) 2018-07-03 2020-01-09 オムロン株式会社 Compiler device and compiling method
US11157297B2 (en) 2018-07-03 2021-10-26 Omron Corporation Control device and control method for preventing unintentional overwriting of data
US11226814B2 (en) 2018-07-03 2022-01-18 Omron Corporation Compiler device and compiling method

Similar Documents

Publication Publication Date Title
US5930806A (en) Method and system for data migration from network database to relational database
Goodrich et al. Data structures and algorithms in Java
CN101258496B (en) Autocompleting with queries to a database
CN100468396C (en) Mapping architecture for arbitrary data models
US6338069B1 (en) Method and apparatus for managing functions
US7962497B2 (en) Relationship modeling
JPH0630066B2 (en) Table type language translation method
Atkinson Core PHP Programming: using PHP to build dynamic Web sites
CN103646049A (en) Method and system for automatically generating data report
WO1996018147A1 (en) Method for associating data bearing objects with user interface objects
US6820268B2 (en) Method for associating data bearing objects with user interface objects
CN100454244C (en) System and method for defining and using subclasses declaratively within markup
US7634454B2 (en) Concept keywords colorization in program identifiers
US8433729B2 (en) Method and system for automatically generating a communication interface
WO2020248784A1 (en) Method for realizing mother language programming on computer
CN116088693A (en) Input processing method, system, electronic device and readable storage medium
JPH04260134A (en) Name mark managing system for language processing system
CN113687827B (en) Data list generation method, device and equipment based on widget and storage medium
Schmidt et al. The database programming language DBPL rationale and report
US4972343A (en) Knowledge processing system
Campbell A compiler definition facility based on the syntactic macro
US20040044686A1 (en) Information object emulator
JP2005157898A (en) Xml/database cooperation device
JP2856450B2 (en) Kana-Kanji conversion method
Roelofs et al. AIMMS 3. 9-Language Reference