JPS61198333A - Program linking system - Google Patents

Program linking system

Info

Publication number
JPS61198333A
JPS61198333A JP3914585A JP3914585A JPS61198333A JP S61198333 A JPS61198333 A JP S61198333A JP 3914585 A JP3914585 A JP 3914585A JP 3914585 A JP3914585 A JP 3914585A JP S61198333 A JPS61198333 A JP S61198333A
Authority
JP
Japan
Prior art keywords
program
subprogram
unit
new
outputs
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
JP3914585A
Other languages
Japanese (ja)
Inventor
Atsuyuki Komatsu
敬幸 小松
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 JP3914585A priority Critical patent/JPS61198333A/en
Publication of JPS61198333A publication Critical patent/JPS61198333A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate executing programs by constituting a linking system with a generating means, an update means, a translating means, and a linking means. CONSTITUTION:A subprogram is inputted from a subprogram source unit 6 to a generating means 2, and this means outputs a matching program to a matching program compiling unit 9. An update means 3 updates the subprogram and outputs the new subprogram to a new subprogram source unit 7. The outputted new subprogram is inputted from the new subprogram source unit 7 to a translating means, and this means 4 outputs the new subprogram to a new subprogram compiling unit 10. A linking means 5 links a main program compiling unit 8 which outputs a main program generated by the translating means 4, the unit 9, and the unit 10 to generate an execution program load module 11. Thus, the program is executed easily.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理におけるプログラム結合方式に関し
、特に主プログラムと主プログラムから呼び出される副
プログラムを結合する方式において、それらのプログラ
ムが異なる種類のものであり互いの結合規則に整合がな
い場合に結合され元プログラムを作成するプログラム結
合方式に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a method for combining programs in information processing, and in particular, a method for combining a main program and sub-programs called from the main program. This invention relates to a program combination method for creating an original program by combining the programs when their combination rules do not match.

〔従来の技術〕[Conventional technology]

従来のプログラム結合方式は、主プログラムと副プログ
ラムの双方に整合する整合プログラムを作成し、主プロ
グラムが副プログラムの名前を引数の一部としてこの整
合プログラムを呼び出し、整合プログラムは主プログラ
ムから渡された引数を次に呼び出すプログラムの名前と
して副プログラムを呼び出すことにより主プログラムと
副プログラムを結合してい友。
Traditional program binding methods create a coordinated program that is consistent with both the main program and the subprogram, the main program calls this coordinated program with the name of the subprogram as part of the argument, and the coordinated program is passed from the main program. A friend combines the main program and the subprogram by calling the subprogram with the argument given as the name of the next program to be called.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、このような従来のプログラム結合方式は
、主プログラムの引ρとして副プログラムの名前を指定
する必要がありプログラム名を引数として渡すことがで
きない言語処理システムでは整合プログラムを副プログ
ラムに対応して複数個作成しなければならないことにな
り、汎用性に欠けるという欠点があった。
However, in this conventional program combination method, it is necessary to specify the name of the subprogram as an argument to the main program, and in language processing systems where the program name cannot be passed as an argument, it is difficult to match the consistent program to the subprogram. This had the disadvantage of lacking in versatility, as multiple units had to be created.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のプログラム結合方式は、副プログラムを入力し
て整合プログラムを生成する手段と、生成され几整合プ
ログラムに合うように副プログラムを変更する手段と、
変更された副プログラムのオブジェクト’を生成する手
段と、これら生成された整合プログラム、変更され生成
された副プログラムと主プログラムを結合する手段とを
含んで構成される。
The program combination method of the present invention includes means for inputting a subprogram to generate a consistent program, and means for changing the subprogram to match the generated consistent program.
The program includes means for generating objects of modified subprograms, means for combining the generated matching programs, the modified and generated subprograms, and the main program.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図に示すプログラム結合方式1は、生成手段2と、
更新手段3と、翻訳手段4と、結合手段5とを含んで構
成されており、副プログラムンースユニノl−6ト、i
副7’ロクラムノースユニット7と、主プログラムコン
パイルユニット8.!=、[合プログラムコンパイルユ
ニット9と、新フログラムコンパイル二二ツ)10と、
’+行プロクラムロードモジュール11と接続されてい
る。
A program combination method 1 shown in FIG. 1 includes a generation means 2,
It is composed of an updating means 3, a translating means 4, and a combining means 5, and the sub-program
Secondary 7' locum north unit 7 and main program compilation unit 8. ! =, [joint program compile unit 9 and new program compile unit 22) 10,
'+ line is connected to the program load module 11.

(1)まず、生成手段2では、副プログラムンースユニ
ット6からの副プログラムを入力して整合プログラムコ
ンパイルユニット9に整合プログラムを゛出力する。こ
の整合プログラムには、副プログラムの名称が付けられ
る。
(1) First, the generation means 2 inputs the subprogram from the subprogram source unit 6 and outputs a matched program to the matched program compilation unit 9. This matching program is given the name of the subprogram.

(2)更新手段3では、(1)で入力した副プログラム
を更新して駈副グログラムンースユニット7に新劇プロ
グラムを出力する。更新の内容は、整合プログラムに対
して副プログラム名を付けたため新劇プログラムに別の
プログラム名をつけることである。この別のプログラム
名は、更新手段3においである規準により付けられる。
(2) The updating means 3 updates the subprogram input in (1) and outputs the Shingeki program to the subprogramming unit 7. The content of the update is to give the Shingeki program a different program name since the harmonized program was given a subprogram name. This other program name is given by the updating means 3 according to a certain criterion.

(3)翻訳手段4では、(2)にて出力した新制プログ
ラムヲ新副プログラムソースユニット7から入力して新
制プログラムコンパイル二二yト10に新劇プログラム
を出力する。
(3) The translation means 4 inputs the new system program output in (2) from the new subprogram source unit 7 and outputs the new system program to the new system program compile unit 10.

(4)結合手段5では、あらかじめ既存の翻訳手段4に
よって作成された主プログラムを出力する主プロゲラム
コ/パイルユニット8と整合プログラムコノバイルユニ
ット9と新開プロゲラムコ7バイルユニツトlOを結合
し実行プログラムロードモジュールl l t−fl[
fル。
(4) The coupling means 5 combines the main program co/pile unit 8 which outputs the main program previously created by the existing translation means 4, the consistent program compo unit 9, and the Shinkai program co/pile unit 10 to create an execution program load module. l l t-fl[
f le.

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

本発明のプログラム結合方式は、主プログラムと副プロ
グラムがお互いに整合がなくても主プログラムと副プロ
グラムとの中間に双方のプログラムと整合を4つ整合プ
ログラムを生成し結合させることにより容易にプログラ
ムの実行ができるという効果がある。
The program combination method of the present invention allows easy programming even if the main program and subprograms are not consistent with each other by generating and combining four consistent programs between the main program and the subprogram that are consistent with both programs. This has the effect of being able to carry out the following.

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

第1図は本発明の一実施例を含むブロック図である。 1゛°°・・プログラム結合方式、2・・・・・・生成
手段、3・・・・・・更新手段、4・・・・・・翻訳手
段、5・・団・結合手段、6・・・・・・副プログラム
ンースユニット、7・・・・・・新劇プログラムンース
ユニット、8・・・・・・主フt=yラムコンパイルユ
ニット、9・・川・整合フログラムコノハイルユニク)
、10・・・・・・新フロクラムコ7バイルユニツト、
11・・・・・・実行フログラムロードモジュール
FIG. 1 is a block diagram containing one embodiment of the present invention. 1. Program combination method, 2. Generation means, 3. Update means, 4. Translation means, 5. Group combination means, 6. ... Sub-program unit, 7... Shingeki program unit, 8... Main fut=y ram compilation unit, 9... River Integration Frogram Konohail Unique. )
, 10...New Flow Ramco 7 Bile Unit,
11... Execution program load module

Claims (1)

【特許請求の範囲】[Claims] コンピュータのプログラム結合で主プログラムと主プロ
グラムから呼び出される副プログラムを結合するプログ
ラム結合方式において、呼び出される副プログラムを読
み込んで主プログラムと該副プログラムとの整合をとる
整合プログラムを生成する生成手段と、該副プログラム
を入力して生成手段で生成された整合プログラムと結合
可能な新しい副プログラムを作る更新手段と、この更新
手段で作成された副プログラムを翻訳する翻訳手段と、
主プログラムと上記生成手段で生成された整合プログラ
ムと上記更新手段と翻訳手段で再生成された副プログラ
ムとを入力して実行形体のプログラムを生成する結合手
段とを含んで構成されることを特徴とするプログラム結
合方式。
In a program combination method in which a main program and a subprogram called from the main program are combined in computer program combination, a generation means reads a called subprogram and generates a matching program that matches the main program and the subprogram; an updating means for inputting the subprogram and creating a new subprogram that can be combined with the matching program generated by the generating means; a translation means for translating the subprogram created by the updating means;
It is characterized by comprising a combination means for generating an executable program by inputting the main program, the matching program generated by the generation means, the subprogram regenerated by the updating means and the translation means. A program combination method that uses
JP3914585A 1985-02-28 1985-02-28 Program linking system Pending JPS61198333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3914585A JPS61198333A (en) 1985-02-28 1985-02-28 Program linking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3914585A JPS61198333A (en) 1985-02-28 1985-02-28 Program linking system

Publications (1)

Publication Number Publication Date
JPS61198333A true JPS61198333A (en) 1986-09-02

Family

ID=12544937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3914585A Pending JPS61198333A (en) 1985-02-28 1985-02-28 Program linking system

Country Status (1)

Country Link
JP (1) JPS61198333A (en)

Similar Documents

Publication Publication Date Title
TW355773B (en) System and method for generating trusted, architecture specific, compiled versions of architecture neutral programs
JPS61198333A (en) Program linking system
ATE218722T1 (en) SYSTEM FOR CONVERTING LOOP FUNCTIONS TO CONTINUATION TRANSMISSION STYLE
Son et al. xCodeParser based on Abstract Syntax Tree Metamodel (ASTM) for SW Visualization
JPS6022373B2 (en) Program conversion mechanism for programmable control equipment
JPH025131A (en) Execution unit changing system
JPH02118836A (en) Multi-operating system corresponding system
JPH01237832A (en) Program linkage system
JPH02211542A (en) Module management information calculating system
JPH03240837A (en) Debug information generating device
JPH02267627A (en) Automatic production of data contents display program
JP3041919B2 (en) Program combination processor
JPS63266542A (en) Production/conversion system for object file
JPH0417028A (en) System for translating and editing program language
JPS63291126A (en) System for shortening compile time
JPH04153737A (en) Output system for compile updating information
JPH02205930A (en) Interface check processing method
JPH03176744A (en) Software testing system
JPH04112335A (en) Output system for cross-reference list
JPH05233241A (en) Program forming device
JPH05250172A (en) Program preparing method
JPH03147136A (en) Compile system
JPS63223920A (en) Link system
JPH0279127A (en) Fortran compile processing system
JPS63245728A (en) Rearranged object integrating mechanism