首页> 外国专利> 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

机译:用于利用两阶段编译过程来编译Cobol源程序的方法,该Cobol源程序包括Cobol,C ++或JAVA语句以及可选的OpenMP指令的混合

摘要

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 ++编程语言中描述的程序的并行性。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号