摘要:
A method, apparatus, and program product are disclosed for carrying out the compilation of an original Cobol program that includes a mix of Cobol, C++ or JAVA and optional OpenMP directives in a single source program file so as to provide improved performance during execution of the program and improved convenience and features in programming. The approach or method includes performing a compilation (or translation) step utilizing a first compiler or translating program which is a is a specialized compiler/translator that takes as input a Cobol source program including a further provision for the inclusion of C/C++ program statements and OpenMP statements, and produces as output an intermediate computer program, the intermediate program that is entirely in C or C++, the intermediate program being intended for further compilation by an existing selected second compiler, the second compiler being an optimizing compiler that provides support for parallelism for the programs described in the C/C++ programming languages.
摘要翻译:公开了一种方法,装置和程序产品,用于在单个源程序文件中执行包括Cobol,C ++或JAVA的组合以及可选的OpenMP指令的原始Cobol程序的编译,以便在执行期间提供改进的性能 程序和改进的方便性和编程特性。 该方法或方法包括使用第一编译器或翻译程序来执行编译(或翻译)步骤,其是专门的编译器/翻译器,其将Cobol源程序作为输入,Cobol源程序包括用于包含C / C ++程序语句的进一步规定 和OpenMP语句,并且产生中间计算机程序,即完全在C或C ++中的中间程序,中间程序用于由现有的选择的第二编译器进一步编译,第二编译器是提供对 用于C / C ++编程语言描述的程序的并行性。
摘要:
A method is disclosed for translating by a computer system of a COBOL computer program into a translated computer program in a readable and maintainable syntax in an object oriented programming language. The translated program including variable names equivalent to the original COBOL variable names and with attributes described in COBOL syntax. The translating method further providing for memory allocation in the translated computer program for storage of “COBOL” variables compatible with that of the original COBOL program; a description of program flow that is readable, and utilizing arithmetic operators to describe operations between COBOL variables. Also disclosed is a special object oriented run-time library for creating and performing operations between COBOL numeric objects, including maintaining storage of variable content in the original COBOL format, and for enabling readability of the translated source code by allowing arguments for variable type descriptions to be expressed in COBOL syntax.
摘要:
A method, apparatus, and program product are disclosed for carrying out the compilation of an original Cobol program that includes a mix of Cobol, C++ or JAVA and optional OpenMP directives in a single source program file so as to provide improved performance during execution of the program and improved convenience and features in programming. The approach or method includes performing a compilation (or translation) step utilizing a first compiler or translating program which is a is a specialized compiler/translator that takes as input a Cobol source program including a further provision for the inclusion of C/C++ program statements and OpenMP statements, and produces as output an intermediate computer program, the intermediate program that is entirely in C or C++, the intermediate program being intended for further compilation by an existing selected second compiler, the second compiler being an optimizing compiler that provides support for parallelism for the programs described in the C/C++ programming languages.
摘要翻译:公开了一种方法,装置和程序产品,用于在单个源程序文件中执行包括Cobol,C ++或JAVA的组合以及可选的OpenMP指令的原始Cobol程序的编译,以便在执行期间提供改进的性能 程序和改进的方便性和编程特性。 该方法或方法包括使用第一编译器或翻译程序来执行编译(或翻译)步骤,其是专门的编译器/翻译器,其将Cobol源程序作为输入,Cobol源程序包括用于包含C / C ++程序语句的进一步规定 和OpenMP语句,并且产生中间计算机程序,即完全在C或C ++中的中间程序,中间程序用于由现有的选择的第二编译器进一步编译,第二编译器是提供对 用于C / C ++编程语言描述的程序的并行性。
摘要:
A method is disclosed for translating by a computer system of a COBOL computer program into a translated computer program in a readable and maintainable syntax in an object oriented programming language. The translated program including variable names equivalent to the original COBOL variable names and with attributes described in COBOL syntax. The translating method further providing for memory allocation in the translated computer program for storage of “COBOL” variables compatible with that of the original COBOL program; a description of program flow that is readable, and utilizing arithmetic operators to describe operations between COBOL variables. Also disclosed is a special object oriented run-time library for creating and performing operations between COBOL numeric objects, including maintaining storage of variable content in the original COBOL format, and for enabling readability of the translated source code by allowing arguments for variable type descriptions to be expressed in COBOL syntax.