Extending the functionality of a host programming language
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for extending the functionality of a host language, the method comprising: providing a language extension file that defines at least a portion of a domain specific language; applying a lexer to the language extension file to generate a first portion of a domain specific language specification, the first portion of the domain specific language specification relating tokens that include strings of characters from the domain specific language to corresponding tokens that include strings of characters from the host language; applying a parser to the language extension
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (32)
Non-Patent Literature (5)
- "U.S. Appl. No. 12/052,590, Examiner Interview Summary mailed Nov. 23, 2012", 11 pgs.
- "U.S. Appl. No. 12/052,590, Non Final Office Action mailed Mar. 7, 2012", 12 pgs.
- "U.S. Appl. No. 12/052,590, Response filed Nov. 7, 2012 to Non Final Office Action mailed Aug. 7, 2012", 13 pgs.
- "U.S. Appl. No. 12/052,601 , Response filed Nov. 17, 2011 to Non Final Office Action mailed Aug. 17, 2011", 10 pgs.
- "U.S. Appl. No. 12/052,601, Examiner Interview Summary mailed Nov. 28, 2011", 3 pgs.