Code blueprints
Abstract
A blueprint is described that provides a framework for writing a code generator. A blueprint translator translates the blueprint into one or more classes with source code. The newly generated code can then be compiled. If the user wishes to add additional functionality to a generated class, this is done in a separate source file. At compilation time, the compiler combines the generated class with the user's additions, as if they were written in a single class. Later, if the blueprint is ever changed, the generated code can safely be updated without overwriting the user's additions. Alternately, the user can embed his desired additions or changes directly into the blueprint (embedded code). In this manner, should the blueprint ever be re-compiled, the user's changes will still be present. The partial classes technique can be used in conjunction with the embedded code technique.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer that receives a blueprint and includes a processor programmed so as to execute program modules of a blueprint translator that produces source code from said blueprint, said program modules comprising: a parser that receives and parses the blueprint and code setting forth desired additions or changes in the source code produced from the blueprint, wherein the code setting forth desired additions or changes is user-written code for modifying the source code produced from the blueprint and wherein the blueprint comprises a domain-specific declarative programming language that declares
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Bischof, C.H. et al., "Implementation of Automatic Differentation Tools", PEPM, Jan. 14-15, 2002, 98-107.
- Fernandez, M. et al., "Efficient Evaluation of XML Middle-ware Queries", ACM Sigmod, May 21-24, 2001, 103-114.
- Florescu, D. et al., "XL: An XML Programming Language for Web Service Specification and Composition", WWW, May 7-11, 2002, 65-76.
- Miyashita, K. et al., "Declarative Programming of Graphical Interfaces by Visual Examples", UIST, Nov. 15-18, 1992, 107-116.
- Sarkar, et al, Code generation using XML based document transformation, The server Side : Nov. 2001, pp. 1-20.