Language-Level Integration of Programming Models
First Claim
1. A method for creating a software program that integrates multiple programming languages, the method comprising:
- adding computer code written in a host language to a source code file, the source code file stored on a computer-readable storage medium;
adding inset computer code to the source code file, the inset computer code written in a domain specific language that is different from the host language; and
providing a domain specific language specification that comprises instructions written in the host language for executing the inset computer code in accordance with the domain specific language.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
44 Citations
15 Claims
-
1. A method for creating a software program that integrates multiple programming languages, the method comprising:
-
adding computer code written in a host language to a source code file, the source code file stored on a computer-readable storage medium; adding inset computer code to the source code file, the inset computer code written in a domain specific language that is different from the host language; and providing a domain specific language specification that comprises instructions written in the host language for executing the inset computer code in accordance with the domain specific language. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product comprising a computer-readable storage medium storing computer program code that comprises:
-
a source code file stored on a computer-readable storage medium, the source code file containing; computer code written in a host language, and inset computer code written in a domain specific language, the domain specific language different from the host language; and a domain specific language specification stored on a computer-readable storage medium, the domain specific language specification comprising instructions written in the host language for executing the inset computer code in accordance with the domain specific language. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product for integrating multiple programming languages, the computer program product comprising a computer-readable storage medium containing computer program code that comprises:
-
a source code file stored on a computer-readable storage medium, the source code file containing; computer code written in a host language, and inset computer code written in a domain specific language, the domain specific language different from the host language; and means, stored on a computer-readable storage medium, for defining the inset computer code according to the domain specific language in terms of the host language. - View Dependent Claims (14, 15)
-
Specification