×

Flexible code generation

  • US 8,356,276 B2
  • Filed: 12/04/2009
  • Issued: 01/15/2013
  • Est. Priority Date: 01/13/2004
  • Status: Active Grant
First Claim
Patent Images

1. A machine-readable storage device embodying a computer program product for performing a method, said method comprising:

  • generating, in a first declarative development environment, a first request to generate code for first application elements in the first declarative development environment, and generating, in a second declarative development environment, a second request to generate code for second application elements in the second declarative development environment, wherein the first application elements are defined by first declarative data in the first declarative development environment, and wherein the second application elements are defined by second declarative data in the second declarative development environment;

    receiving the first declarative data in a first code generator core, and receiving the second declarative data in a second code generator core, wherein the first code generator core is configured to produce a first type of generated code corresponding to the first declarative development environment, wherein the second code generator core is configured to produce a second type of generated code corresponding to the second declarative development environment, and wherein the first code generator core has corresponding first configuration data and the second code generator core has corresponding second configuration data;

    receiving, in a code generator framework, first parameter values corresponding to the first declarative data and second parameter values corresponding to the second declarative data;

    loading, in the code generation framework, the first and second configuration data, wherein the code generation framework selects, based on the first configuration data, a first code generation task, and further selects, based on the second configuration data, a second code generation task, wherein the first code generation task encapsulates an associated first code generation technology and the first code generation technology is used to execute the first generation task, and wherein the second code generation task encapsulates an associated second code generation technology and the second code generation technology is used to execute the second generation task; and

    generating first code for the first application elements based on the first parameter values and the first configuration data using the first code generation technology, and generating second code for the second application elements based on the second parameter values and the second configuration data using the second code generation technology.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×