JPH04282725A - Processing system relating to software developing environment - Google Patents

Processing system relating to software developing environment

Info

Publication number
JPH04282725A
JPH04282725A JP7059591A JP7059591A JPH04282725A JP H04282725 A JPH04282725 A JP H04282725A JP 7059591 A JP7059591 A JP 7059591A JP 7059591 A JP7059591 A JP 7059591A JP H04282725 A JPH04282725 A JP H04282725A
Authority
JP
Japan
Prior art keywords
external name
source program
external
length
editor
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
JP7059591A
Other languages
Japanese (ja)
Inventor
Masafumi Harada
雅史 原田
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 JP7059591A priority Critical patent/JPH04282725A/en
Publication of JPH04282725A publication Critical patent/JPH04282725A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To efficiently develope software by a user without restricting the length of an external name of programming language by releasing the restriction of the length of the external name. CONSTITUTION:This processing system is provided with an attribute file 17 for storing various information relating to the external name of programming language in a source program 10, the file 17 is shared by an editor 2, an external name conversion processor 13, a compiler 3, a linker 4, and a debugger 6 and each processing is executed while referring the file 17. Thereby restriction in the length of the external name of programming language can be released without lossing a user interface. Therefore a user of the programming language can efficiently develope software without receiving restriction in the length of the external name and execute efficient processing also at the time of transferring the software from another machine in which the length of the external name is not restricted.

Description

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

【0001】0001

【産業上の利用分野】この発明は言語仕様上で外部名(
関数名や外部変数名)の長さに制限のあるプログラミン
グ言語を用いてソフトウェアの開発作業を行なうための
ソフトウェア開発環境に関する処理方式に関するもので
ある。
[Industrial Application Field] This invention is based on the language specifications for external names (
The present invention relates to a processing method related to a software development environment for developing software using a programming language that has restrictions on the length of function names and external variable names.

【0002】0002

【従来の技術】図3は従来のソフトウェア開発環境に関
する処理方式における処理の流れを示すブロック図であ
る。図3において、1はソフトウェア開発の開始を示し
、2はソースプログラムを編集するエディタ、3はソー
スプログラムをオブジェクトモジュールに翻訳するコン
パイラ、4は上記オブジェクトモジュールから実行可能
ロードモジュールを生成するリンカー、6は上記ソース
プログラムのデバッグを行なうデバッガ、7はソフトウ
ェア開発の終了を示す。8は処理に必要な情報などを表
示する表示装置、9は処理に必要な情報などを入力する
入力装置、10はエディタ2により作成されたソースプ
ログラム、11はコンパイラ3により生成されたオブジ
ェクトモジュール、12はリンカー4により生成された
実行可能ロードモジュールである。
2. Description of the Related Art FIG. 3 is a block diagram showing the flow of processing in a conventional processing method related to a software development environment. In FIG. 3, 1 indicates the start of software development, 2 an editor that edits a source program, 3 a compiler that translates a source program into an object module, 4 a linker that generates an executable load module from the object module, and 6 7 indicates a debugger that debugs the source program, and 7 indicates the end of software development. 8 is a display device for displaying information necessary for processing, 9 is an input device for inputting information necessary for processing, 10 is a source program created by editor 2, 11 is an object module generated by compiler 3, 12 is an executable load module generated by the linker 4.

【0003】次にこの従来例の動作について説明する。 ソフトウェア開発の開始1が行なわれると、表示装置8
と入力装置9を用いエディタ2を起動してソースプログ
ラム10を作成し、次にコンパイラ3を起動してオブジ
ェクトモジュール11を生成する。この過程でエラーが
発生した場合、ソースプログラム10をエディタ2で修
正し同じ処理をエラーが無くなるまで繰り返す。エラー
が無くなればリンカー4を起動して実行可能ロードモジ
ュール12を生成し、プログラムの実行5を行ない、エ
ラーが発生すればデバッガ6を起動し原因を調査し、ソ
ースプログラム10をエディタ2で修正し同じ処理をエ
ラーが無くなるまで繰り返す。エラーが無くなればソフ
トウェア開発の終了7となる。
Next, the operation of this conventional example will be explained. When the software development start 1 is performed, the display device 8
The editor 2 is activated using the input device 9 to create a source program 10, and the compiler 3 is then activated to generate an object module 11. If an error occurs during this process, the source program 10 is corrected using the editor 2 and the same process is repeated until the error disappears. If there are no errors, start the linker 4, generate an executable load module 12, and execute the program 5. If an error occurs, start the debugger 6, investigate the cause, and correct the source program 10 with the editor 2. Repeat the same process until there are no more errors. If there are no more errors, the software development ends 7.

【0004】図2は従来のソフトウェア開発環境で外部
名の長さに制限があるコンパイラにおいてその制限を解
除する方法を説明するためのブロック図である。図2に
おいて、13はソースプログラム10中のプログラミン
グ言語の外部名を変換する外部名変換プロセッサで、入
力解析部14と外部名生成部15と出力部16を備えて
いる。10aは外部名変換プロセッサ13によって変換
されたソースプログラムである。
FIG. 2 is a block diagram illustrating a method for removing the limitation on the length of an external name in a compiler in a conventional software development environment. In FIG. 2, reference numeral 13 denotes an external name conversion processor that converts external names of programming languages in the source program 10, and includes an input analysis section 14, an external name generation section 15, and an output section 16. 10a is a source program converted by the external name conversion processor 13.

【0005】次に動作について説明する。ソースプログ
ラム10が外部名変換プロセッサ13に入力され、入力
解析部14で外部名に関する情報が抽出され、外部名生
成部15では既に存在する外部名と衝突しないユニーク
な外部名を自動生成する。出力部16では前段階で得ら
れた情報を基にソースプログラム10に存在し衝突を起
している外部名をユニークな外部名に置き換え、新たな
ソースプログラム10aを出力する。
Next, the operation will be explained. A source program 10 is input to an external name conversion processor 13, information regarding an external name is extracted by an input analysis section 14, and an external name generation section 15 automatically generates a unique external name that does not conflict with any existing external name. The output unit 16 replaces the conflicting external name existing in the source program 10 with a unique external name based on the information obtained in the previous step, and outputs a new source program 10a.

【0006】[0006]

【発明が解決しようとする課題】従来の処理方式は以上
の様に構成されているので、外部名の衝突は外部名変換
プロセッサによって回避出来る。しかし、衝突が発生し
外部名変換プロセッサによってユニークな外部名に変換
された外部名は英数字の規則正しい並びであり、本来外
部名が保持していた意味が完全に失われエラー発生時、
ソースプログラム修正時、デバッグ時にユーザを混乱に
陥れることになり、ユーザインタフェースが損なわれる
という問題点があった。
Since the conventional processing system is configured as described above, collisions of external names can be avoided by the external name conversion processor. However, when a collision occurs, the external name converted to a unique external name by the external name conversion processor is a regular sequence of alphanumeric characters, and the original meaning of the external name is completely lost and when an error occurs,
There is a problem in that the user is confused when modifying or debugging a source program, and the user interface is impaired.

【0007】この発明は上記のような問題点を解決する
ためになされたもので、プログラミング言語の外部名の
長さの制限をユーザインタフェースを損なうことなく解
除することができるソフトウェア開発環境に関する処理
方式を提供することを目的とする。
The present invention was made to solve the above-mentioned problems, and provides a processing method for a software development environment that can remove the restriction on the length of external names of programming languages without impairing the user interface. The purpose is to provide

【0008】[0008]

【課題を解決するための手段】この発明に係るソフトウ
ェア開発環境に関する処理方式は、ソースプログラム1
0中のプログラミング言語の外部名に関する各種情報を
格納する属性ファイル17を備え、この属性ファイル1
7をエディタ2、外部名変換プロセッサ13、コンパイ
ラ3、リンカー4、及びデバッガ6間で共有し、各処理
をこの属性ファイル17を参照しながら行なうものであ
る。
[Means for Solving the Problems] A processing method regarding a software development environment according to the present invention includes a source program 1
This attribute file 17 stores various information regarding the external name of the programming language in 0.
7 is shared among the editor 2, external name conversion processor 13, compiler 3, linker 4, and debugger 6, and each process is performed while referring to this attribute file 17.

【0009】[0009]

【作用】エディタ2、外部名変換プロセッサ13、コン
パイラ3、リンカー4、及びデバッガ6は、属性ファイ
ル17に格納された外部名に関する各種情報を参照しな
がら各処理を行なう。
[Operation] The editor 2, external name conversion processor 13, compiler 3, linker 4, and debugger 6 perform each process while referring to various information regarding external names stored in the attribute file 17.

【0010】0010

【実施例】図1はこの発明の一実施例に係るソフトウェ
ア開発環境に関する処理方式における処理の流れを示す
ブロック図である。図1において、図2及び図3に示す
構成要素に対応するものには同一の符号を付し、その説
明を省略する。図1において17はソースプログラム1
0a中のプログラミング言語の外部名に関する各種情報
を格納する属性ファイルである。この属性ファイル17
は二次記憶装置上に生成される必要はなく、処理速度を
上げるために一次記憶装置上に生成され常駐していても
よい。エディタ2、外部名変換プロセッサ13、コンパ
イラ3、リンカー4、及びデバッガ6は、属性ファイル
17に格納された外部名に関する各種情報を参照しなが
ら各処理を行なう。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the flow of processing in a processing method related to a software development environment according to an embodiment of the present invention. In FIG. 1, components corresponding to those shown in FIGS. 2 and 3 are designated by the same reference numerals, and their explanations will be omitted. In FIG. 1, 17 is the source program 1
This is an attribute file that stores various information regarding the external name of the programming language in 0a. This attribute file 17
does not need to be created on the secondary storage, and may be created and resident on the primary storage to increase processing speed. The editor 2, external name conversion processor 13, compiler 3, linker 4, and debugger 6 perform each process while referring to various information regarding external names stored in the attribute file 17.

【0011】次に動作について説明する。ソフトウェア
開発の開始1が行なわれると、表示装置8と入力装置9
を用いエディタ2を起動させる。エディタ2によって作
成されたソースプログラム10は、外部名変換プロセッ
サ13に入力され、そこで外部名に関する各種情報が抽
出され属性ファイル17に出力されると共に外部名の衝
突が解除されたソースプログラム10aを出力する。コ
ンパイラ3はソースプログラム10aを入力し、属性フ
ァイル17を参照しながら翻訳を行ないオブジェクトモ
ジュール11を生成する。この過程でエラーが発生した
場合、エディタ2を起動しソースプログラム10aを修
正して処理を繰り返す。エディタ2は起動されると属性
ファイル17を参照して、外部名変換プロセッサ13が
変換した外部名を元の名前で表示装置8に表示し、ユー
ザは外部名が変換された事を意識せずソースプログラム
10aを編集することができる。
Next, the operation will be explained. When the software development start 1 is performed, the display device 8 and the input device 9
Start Editor 2 using . The source program 10 created by the editor 2 is input to the external name conversion processor 13, where various information regarding the external name is extracted and output to the attribute file 17, and the source program 10a in which conflicts in external names have been resolved is output. do. The compiler 3 inputs the source program 10a, performs translation while referring to the attribute file 17, and generates the object module 11. If an error occurs during this process, the editor 2 is activated, the source program 10a is modified, and the process is repeated. When the editor 2 is started, it refers to the attribute file 17 and displays the external name converted by the external name conversion processor 13 as its original name on the display device 8, without the user being aware that the external name has been converted. The source program 10a can be edited.

【0012】エラーが無くなれば、リンカー4を起動し
て実行可能ロードモジュール12を生成するが、その際
も属性ファイル17を参照しながら行ない、リンカー4
からのメッセージも外部名変換プロセッサ13が変換し
た外部名ではなく元の名前で出力する。次に実行可能ロ
ードモジュール12を起動しプログラムの実行5を行な
い、エラーが発生すればデバッガ6を起動し原因を調査
するが、その際も属性ファイル17を参照しながら行な
い、デバッガ6への入出力も外部名変換プロセッサ13
が変換した外部名ではなく元の名前で行なう。そしてソ
ースプログラム10aをエディタ2で修正し同じ処理を
繰り返す。エラーが無くなれば、ソフトウェア開発の終
了7となる。
If there are no errors, the linker 4 is started to generate the executable load module 12, but this is done while referring to the attribute file 17.
Messages from the external name conversion processor 13 also output the original name instead of the converted external name. Next, the executable load module 12 is started and the program is executed 5. If an error occurs, the debugger 6 is started to investigate the cause. Output is also external name conversion processor 13
The original name is used instead of the external name converted by . Then, the source program 10a is modified using the editor 2 and the same process is repeated. If there are no errors, the software development ends 7.

【0013】上記実施例によれば、外部名に関する各種
情報を属性ファイルというグローバルなファイルに格納
し、ソフトウェアの開発に必要な各種ツール(エディタ
、コンパイラ、リンカー、デバッガ)間で共有すること
により、ユーザインタフェースを損なうことなく且つツ
ールに大幅な改修を施す必要なしに外部名の長さの制限
を解除することができる。
According to the above embodiment, various information regarding external names is stored in a global file called an attribute file and shared among various tools (editor, compiler, linker, debugger) necessary for software development. Limitations on the length of external names can be lifted without compromising the user interface or requiring major modifications to tools.

【0014】[0014]

【発明の効果】以上のように本発明によれば、ソースプ
ログラム中のプログラミング言語の外部名に関する各種
情報を格納する属性ファイルを設け、この属性ファイル
をエディタ、外部名変換プロセッサ、コンパイラ、リン
カー、及びデバッガ間で共有し、各処理を属性ファイル
を参照しながら行なうようにしたので、プログラミング
言語の外部名の長さの制限をユーザインタフェースを損
なうことなく解除でき、これによりプロクラミング言語
のユーザは外部名の長さの制限を受けることなくソフト
ウェアを効率良く開発することが可能になり、また外部
名の長さの制限がない他機種からソフトウェアを移植す
る際にも効率良く処理が行なえるという効果が得られる
As described above, according to the present invention, an attribute file is provided that stores various information regarding the external name of a programming language in a source program, and this attribute file can be used by an editor, external name conversion processor, compiler, linker, etc. and debuggers, and each process is performed while referring to the attribute file. Therefore, the restriction on the length of the external name of the programming language can be lifted without damaging the user interface, and this allows users of the programming language to This makes it possible to develop software efficiently without being subject to restrictions on the length of external names, and also enables efficient processing when porting software from other models that do not have restrictions on the length of external names. is obtained.

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

【図1】この発明の一実施例に係るソフトウェア開発環
境に関する処理方式における処理の流れを示すブロック
図である。
FIG. 1 is a block diagram showing the flow of processing in a processing method related to a software development environment according to an embodiment of the present invention.

【図2】外部名の長さに制限があるコンパイラにおける
従来の制限の解除方法の説明するためのブロック図であ
る。
FIG. 2 is a block diagram illustrating a conventional method for removing a restriction on the length of an external name in a compiler.

【図3】従来のソフトウェア開発環境に関する処理方式
における処理の流れを示すブロック図である。
FIG. 3 is a block diagram showing the flow of processing in a conventional processing method related to a software development environment.

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

2  エディタ 3  コンパイラ 4  リンカー 6  デバッガ 10,10a  ソースプログラム 11  オブジェクトモジュール 12  実行可能ロードモジュール 13  外部名変換プロセッサ 17  属性ファイル 2 Editor 3 Compiler 4 Linker 6 Debugger 10, 10a Source program 11 Object module 12 Executable load module 13 External name conversion processor 17 Attribute file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ソースプログラムを編集するエディタ
と、上記ソースプログラム中の外部名を変換する外部名
変換プロセッサと、上記ソースプログラムをオブジェク
トモジュールに翻訳するコンパイラと、上記オブジェク
トモジュールから実行可能ロードモジュールを生成する
リンカーと、上記ソースプログラムのデバッグを行なう
デバッガとを備えたソフトウェア開発環境に関する処理
方式において、上記ソースプログラム中のプログラミン
グ言語の外部名に関する各種情報を格納する属性ファイ
ルを設け、この属性ファイルを上記エディタ、外部名変
換プロセッサ、コンパイラ、リンカー、及びデバッガ間
で共有し、上記各処理をこの属性ファイルを参照しなが
ら行なうことを特徴とするソフトウェア開発環境に関す
る処理方式。
Claim 1: An editor for editing a source program, an external name conversion processor for converting an external name in the source program, a compiler for translating the source program into an object module, and an executable load module for converting the source program into an object module. In a processing method for a software development environment that includes a linker that generates a linker and a debugger that debugs the source program, an attribute file that stores various information regarding the external name of the programming language in the source program is provided, and this attribute file is A processing method related to a software development environment, characterized in that the above-mentioned editor, external name conversion processor, compiler, linker, and debugger share the same, and each of the above-mentioned processes is performed while referring to this attribute file.
JP7059591A 1991-03-11 1991-03-11 Processing system relating to software developing environment Pending JPH04282725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7059591A JPH04282725A (en) 1991-03-11 1991-03-11 Processing system relating to software developing environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7059591A JPH04282725A (en) 1991-03-11 1991-03-11 Processing system relating to software developing environment

Publications (1)

Publication Number Publication Date
JPH04282725A true JPH04282725A (en) 1992-10-07

Family

ID=13436075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7059591A Pending JPH04282725A (en) 1991-03-11 1991-03-11 Processing system relating to software developing environment

Country Status (1)

Country Link
JP (1) JPH04282725A (en)

Similar Documents

Publication Publication Date Title
JP2666847B2 (en) Heterogeneous language communication method
JP2002532804A (en) Hybrid computer programming environment
JP3196675B2 (en) Language processing method
JPH04282725A (en) Processing system relating to software developing environment
GB2420638A (en) Method of substituting code fragments in Internal Representation
JPS5922140A (en) Interactive compiling system
JP2004192139A (en) Debug device, debug method and recording medium
JPH11154093A (en) Program compiler and storage medium recording compiler program
JPH04367946A (en) Debug information output system
JPH05108372A (en) System for outputting compiler optimization processing content
JP2827724B2 (en) Program debug processing method
JPH08161179A (en) Method for executing one sentence
JPH10207738A (en) Language processing system
JPH03179529A (en) Language translation system
JPH1049378A (en) Compiler development device
JPH06242942A (en) Source code level debugging device
JP2000132405A (en) In-line expansion processing device and method
JPH04209029A (en) Parallel process program translation processor
JPH02213946A (en) Program translation system
JPH06242986A (en) Debugging system using external line number
JP2003330731A (en) Project management file generating device
JPS63317826A (en) Symbolic debugging system
JPS6398031A (en) Check system for suffix value
JPH05233241A (en) Program forming device
JPH0954696A (en) Program generating method and translator, compiler and execution-time library