首页>
外国专利>
Method for enabling compilation of a Cobol source program utilizing a two-stage compilation process, the Cobol source program including a mix of Cobol, C++ or JAVA statements, and optional OpenMP directives
Method for enabling compilation of a Cobol source program utilizing a two-stage compilation process, the Cobol source program including a mix of Cobol, C++ or JAVA statements, and optional OpenMP directives
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程序的编译的方法,装置和程序产品,该原始Cobol程序在单个源程序文件中包括Cobol,C ++或JAVA和可选的OpenMP指令的混合,以便在执行该程序时提供改进的性能。程序,并提高了编程的便利性和功能。该方法或方法包括利用第一编译器或翻译程序执行编译(或翻译)步骤,该第一编译器或翻译程序是专用编译器/翻译器,其采用Cobol源程序作为输入,该Cobol源程序包括用于包含C / C ++程序语句的进一步规定。和OpenMP语句,并产生中间计算机程序作为输出,该中间程序完全是C或C ++,该中间程序打算由现有选定的第二个编译器进行进一步编译,第二个编译器是为以下程序提供支持的优化编译器: C / C ++编程语言中描述的程序的并行性。
展开▼