- 专利标题: Extending the functionality of a host programming language
-
申请号: US12052583申请日: 2008-03-20
-
公开(公告)号: US08533672B2公开(公告)日: 2013-09-10
- 发明人: Vishal Sikka , Matthias Gerhard Anlauff
- 申请人: Vishal Sikka , Matthias Gerhard Anlauff
- 申请人地址: DE Walldorf
- 专利权人: SAP AG
- 当前专利权人: SAP AG
- 当前专利权人地址: DE Walldorf
- 代理机构: Schwegman Lundberg & Woessner, P.A.
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
To enable language-level integration of multiple programming languages into a single programming framework, one or more domain specific languages (DSLs) are specified as incremental extensions to a host programming language. An application created in this framework may include program code written in the host language as well as DSL inset code that is written in any of the DSLs. The extensions to the host language are described in DSL specifications, which define how the DSL inset code is processed. At runtime, DSL inset code in the source code is detected and passed to a DSL inset processor for execution according to an appropriate DSL specification, whereas source code in the host language is executed by a host language processor.