发明授权
- 专利标题: Embedding of a non-imperative programming language for data transformation operations within an imperative programming language
- 专利标题(中): 在命令式编程语言中嵌入用于数据转换操作的非命令式编程语言
-
申请号: US13181038申请日: 2011-07-12
-
公开(公告)号: US09047095B2公开(公告)日: 2015-06-02
- 发明人: Karsten Bohlmann , Stefan Bresch , Welf Walter , Thilo Boehm
- 申请人: Karsten Bohlmann , Stefan Bresch , Welf Walter , Thilo Boehm
- 申请人地址: DE Walldorf
- 专利权人: SAP SE
- 当前专利权人: SAP SE
- 当前专利权人地址: DE Walldorf
- 代理机构: Schwegman Lundberg & Woessner, P.A.
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F9/45 ; G06F9/455
摘要:
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.
公开/授权文献
信息查询