首页> 外国专利> Embedding of a Non-Imperative Programming Language for Data Transformation Operations within an Imperative Programming Language

Embedding of a Non-Imperative Programming Language for Data Transformation Operations within an Imperative Programming Language

机译:在命令式编程语言中嵌入用于数据转换操作的非命令式编程语言

摘要

In an embodiment, a method of computer program compilation is presented. In this method, a compiler for a first programming language is provided. In one example, the first programming language allows a data assignment to depend on a result of a previous data assignment. Source code including a first portion written in the first programming language and a second portion written in a second programming language is accessed, with the second portion representing a data transformation from a first data structure accessible in the first portion to a second data structure accessible in the first portion. In one example, the second programming language prevents a data assignment that depends on a result of a previous data assignment. The source code is compiled using the compiler to generate executable code to be executed by an engine for the first programming language, which includes an interpretation engine to interpret the second portion.
机译:在一个实施例中,提出了一种计算机程序编译的方法。在该方法中,提供了用于第一编程语言的编译器。在一个示例中,第一编程语言允许数据分配取决于先前数据分配的结果。访问包括用第一编程语言编写的第一部分和用第二编程语言编写的第二部分的源代码,其中第二部分表示从第一部分可访问的第一数据结构到第二部分可访问的第二数据结构的数据转换。第一部分。在一个示例中,第二编程语言防止依赖于先前数据分配的结果的数据分配。使用编译器编译源代码,以生成将由第一编程语言的引擎执行的可执行代码,该引擎包括用于解释第二部分的解释引擎。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号