Flexible code generation
First Claim
Patent Images
1. A computer program product, tangibly embodied in an information carrier, for a generation framework, the computer program product comprising instructions operable to cause data processing apparatus to:
- provide a common interface to a plurality of different types of generator cores corresponding to different systems and operating in different development environments;
receive a request to generate software code from one of the generator cores operating in one of the development environments;
determine a generation task associated with the request, the generation task corresponding to one of a plurality of different generation technologies; and
generate the software code using the generation task.
2 Assignments
0 Petitions
Accused Products
Abstract
There are methods and apparatus, including computer program products, for a flexible generation framework. The generation framework encapsulates a variety of different code generation technologies within a common interface. This allows various types of generator cores operating in various development environments to be integrated into the framework, and enables the generation of code using various generating technologies.
-
Citations
20 Claims
-
1. A computer program product, tangibly embodied in an information carrier, for a generation framework, the computer program product comprising instructions operable to cause data processing apparatus to:
-
provide a common interface to a plurality of different types of generator cores corresponding to different systems and operating in different development environments;
receive a request to generate software code from one of the generator cores operating in one of the development environments;
determine a generation task associated with the request, the generation task corresponding to one of a plurality of different generation technologies; and
generate the software code using the generation task. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
receiving a request to generate code for an application element, the request including a reference to a generation unit and one or more context values associated with the generation unit;
determining a generation task corresponding to the generation unit;
generating a call appropriate for a generation technology corresponding to the generation task; and
generating the code using the one or more context values. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A generation framework comprising:
-
an interface module configured to accept input from a plurality of different types of generator cores, each type being associated with particular generation units;
a selection module in communication with the interface module, the selection module configured to select a generation task from a plurality of different generation tasks based on one of the particular generation units associated with a generator core requesting generation of software code for a particular application element; and
an invocation module in communication with the selection module, the invocation module configured to invoke the selected generation task using a generation technology associated with the selected generation task. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification