JP6251158B2 - プログラム変換システム - Google Patents
プログラム変換システム Download PDFInfo
- Publication number
- JP6251158B2 JP6251158B2 JP2014252202A JP2014252202A JP6251158B2 JP 6251158 B2 JP6251158 B2 JP 6251158B2 JP 2014252202 A JP2014252202 A JP 2014252202A JP 2014252202 A JP2014252202 A JP 2014252202A JP 6251158 B2 JP6251158 B2 JP 6251158B2
- Authority
- JP
- Japan
- Prior art keywords
- instance
- class
- definition
- item
- data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 claims description 18
- 230000010365 information processing Effects 0.000 claims 7
- 238000003672 processing method Methods 0.000 claims 1
- 238000006243 chemical reaction Methods 0.000 description 23
- 238000010586 diagram Methods 0.000 description 20
- 102100034032 Cytohesin-3 Human genes 0.000 description 17
- 101710160297 Cytohesin-3 Proteins 0.000 description 17
- 101100441251 Arabidopsis thaliana CSP2 gene Proteins 0.000 description 9
- 101100033098 Arabidopsis thaliana RBG2 gene Proteins 0.000 description 9
- 101100511870 Fagus sylvatica LSM4 gene Proteins 0.000 description 9
- 101150095494 GRP2 gene Proteins 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000007704 transition Effects 0.000 description 2
- 102100021198 Chemerin-like receptor 2 Human genes 0.000 description 1
- 101000750094 Homo sapiens Chemerin-like receptor 2 Proteins 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Devices For Executing Special Programs (AREA)
Description
02 GRP1-E1 PIC X(4).
02 GRP1-E2 PIC X(4).
01 GRP2.
02 GRP2-E1 PIC X(4).
02 GRP2-E2 PIC X(4).
110 ホストコンピュータ
120 変換プログラム実行システム
130 COBOLプログラム
140 COBOLソースプログラム
150 Javaソースプログラム
160 Javaバイトコード
200 変換規則記憶部
210 プログラム変換部
211 データ定義読み取り部
212 集団項目定義コード出力部
213 第1の基本項目定義コード出力部
214 第2の基本項目定義コード出力部
220 COBOLソースプログラム記憶部
230 Javaソースプログラム記憶部
300 JavaVM実行部
310 Javaバイトコード記憶部
320 プログラム実行部
321 インスタンスキャッシュ部
322 インスタンス管理部
Claims (4)
- COBOLソースプログラムのデータ部におけるデータ定義を順次読み込むデータ定義読み取り部と、
前記データ定義が集団項目の定義である場合、Javaソースプログラムにおいて当該集団項目を実現するための第1のクラスの第1のインスタンスを生成する第1のソースコードを出力する集団項目定義コード出力部と、
前記データ定義が基本項目の定義であり、かつ、レベルが最上位である場合、前記Javaソースプログラムにおいて当該基本項目を実現するための第2のクラスの第2のインスタンスを生成する第2のソースコードを出力する第1の基本項目定義コード出力部と、
前記データ定義が基本項目の定義であり、かつ、レベルが最上位でない場合、当該基本項目を実現するための第3のクラスの第3のインスタンスを前記第1のクラスのメンバ変数とする第3のソースコードを出力する第2の基本項目定義コード出力部と、
前記出力されたソースコードを含むJavaソースプログラムに基づいて動作するプログラム実行部と、
を備え、
前記プログラム実行部は、
前記第1のソースコード及び前記第3のソースコードに基づいた前記第1のクラスの前記第1のインスタンスの生成時に、前記第1のクラスの前記第1のインスタンスのデータ領域内に前記第1のクラスの前記メンバ変数である前記第3のクラスの前記第3のインスタンスのデータ領域を確保する、
情報処理システム。 - 請求項1に記載の情報処理システムであって、
前記プログラム実行部は、
前記COBOLソースプログラムにおいてCALL文で呼び出されるサブプログラムに対応するJavaソースプログラムのクラスのインスタンスのキャッシュを保持するインスタンスキャッシュ部と、
前記CALL文から変換された第1の命令が実行されると、前記サブプログラムに対応する前記Javaソースプログラムのクラスのインスタンスが、前記キャッシュに存在しない場合は、当該インスタンスを新たに生成し、前記キャッシュに存在する場合は、前記キャッシュ内の当該インスタンスを、前記COBOLソースプログラムのVALUE句に対応する初期値の設定処理を実行することによってメンバ変数の値を初期化して再利用するインスタンス管理部と、
を備える情報処理システム。 - 請求項2に記載の情報処理システムであって、
前記サブプログラムは、前記集団項目の前記データ定義を含み、
前記キャッシュは、前記集団項目における各基本項目について、当該基本項目に対応する前記メンバ変数のデータ領域に関する情報を含む、
情報処理システム。 - 情報処理システムが、
COBOLソースプログラムのデータ部におけるデータ定義を順次読み込み、
前記データ定義が集団項目の定義である場合、Javaソースプログラムにおいて当該集団項目を実現するための第1のクラスの第1のインスタンスを生成する第1のソースコードを出力し、
前記データ定義が基本項目の定義であり、かつ、レベルが最上位である場合、前記Javaソースプログラムにおいて当該基本項目を実現するための第2のクラスの第2のインスタンスを生成する第2のソースコードを出力し、
前記データ定義が基本項目の定義であり、かつ、レベルが最上位でない場合、当該基本項目を実現するための第3のクラスの第3のインスタンスを前記第1のクラスのメンバ変数とする第3のソースコードを出力し、
前記第1のソースコード及び前記第3のソースコードに基づいた前記第1のクラスの前記第1のインスタンスの生成時に、前記第1のクラスの前記第1のインスタンスのデータ領域内に前記第1のクラスの前記メンバ変数である前記第3のクラスの前記第3のインスタンスのデータ領域を確保する、
情報処理方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014252202A JP6251158B2 (ja) | 2014-12-12 | 2014-12-12 | プログラム変換システム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014252202A JP6251158B2 (ja) | 2014-12-12 | 2014-12-12 | プログラム変換システム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016115070A JP2016115070A (ja) | 2016-06-23 |
JP6251158B2 true JP6251158B2 (ja) | 2017-12-20 |
Family
ID=56141891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014252202A Active JP6251158B2 (ja) | 2014-12-12 | 2014-12-12 | プログラム変換システム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6251158B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6458196B1 (ja) * | 2018-09-27 | 2019-01-23 | Tis株式会社 | プログラム変換システム、変換プログラム実行システム、情報処理システム、プログラム変換方法、変換プログラム実行方法、及び情報処理方法 |
JP6475888B1 (ja) * | 2018-10-05 | 2019-02-27 | Tis株式会社 | プログラム変換システム |
JP6982920B1 (ja) * | 2021-09-07 | 2021-12-17 | 株式会社Shift | ソースコード変換装置、及びプログラム |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6453464B1 (en) * | 1998-09-03 | 2002-09-17 | Legacyj. Corp., Inc. | Method and apparatus for converting COBOL to Java |
JP4724387B2 (ja) * | 2004-06-24 | 2011-07-13 | 富士通株式会社 | プログラム変換プログラム、プログラム変換装置およびプログラム変換方法 |
JP4144885B2 (ja) * | 2004-12-28 | 2008-09-03 | インターナショナル・ビジネス・マシーンズ・コーポレーション | アプリケーション・オブジェクトの再利用方法 |
JP5147626B2 (ja) * | 2008-09-30 | 2013-02-20 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Cobolコードから変換されたjava(登録商標)コードを含むプログラムを実行するコンピュータ・システム、並びにその方法及びコンピュータ・プログラム |
-
2014
- 2014-12-12 JP JP2014252202A patent/JP6251158B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016115070A (ja) | 2016-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Verdoolaege et al. | Equivalence checking of static affine programs using widening to handle recurrences | |
US20150154011A1 (en) | Transplantation Method and Source-to-Source Compiler | |
JP6245031B2 (ja) | コンパイルプログラム、コンパイル方法およびコンパイル装置 | |
JP5966509B2 (ja) | プログラム、コード生成方法および情報処理装置 | |
US9395986B2 (en) | Compiling method and compiling apparatus | |
JP6432450B2 (ja) | 並列計算装置、コンパイル装置、並列処理方法、コンパイル方法、並列処理プログラムおよびコンパイルプログラム | |
JP6251158B2 (ja) | プログラム変換システム | |
JP2011065220A (ja) | コンパイラ・プログラム、コンパイル方法及びコンピュータ・システム | |
Kicherer et al. | Seamlessly portable applications: Managing the diversity of modern heterogeneous systems | |
Finkel et al. | Clangjit: Enhancing c++ with just-in-time compilation | |
Hong et al. | Improving simd parallelism via dynamic binary translation | |
Petitjean et al. | XMG 2: Describing description languages | |
Rieu-Helft et al. | How to get an efficient yet verified arbitrary-precision integer library | |
Mendis et al. | Revec: program rejuvenation through revectorization | |
Xu et al. | Copy-and-patch compilation: a fast compilation algorithm for high-level languages and bytecode | |
JP2013242700A (ja) | コード最適化方法、プログラム及びシステム | |
Paulweber et al. | CASM-IR: uniform ASM-based intermediate representation for model specification, execution, and transformation | |
Fu et al. | Efficient and retargetable SIMD translation in a dynamic binary translator | |
Křikava et al. | Manipulating models using internal domain-specific languages | |
CN112579059B (zh) | 支持有限域数据类型和运算符的编译方法 | |
JP6458196B1 (ja) | プログラム変換システム、変換プログラム実行システム、情報処理システム、プログラム変換方法、変換プログラム実行方法、及び情報処理方法 | |
US20100077384A1 (en) | Parallel processing of an expression | |
JP6897213B2 (ja) | コード生成装置、コード生成方法及びコード生成プログラム | |
CN114041116A (zh) | 数据移动任务优化的方法和装置 | |
KR20080018692A (ko) | 다양한 정밀도에 대한 고속 부동 소수점 연산을 수행하는방법, 프로그래밍 구조 및 기록 매체 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20160818 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161007 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170803 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20170926 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171106 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171114 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171124 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6251158 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |