System and method for generating target language code utilizing an object oriented code generator
First Claim
1. In a computing environment, a system for converting a fourth generation language specification into target language source code, comprising:
- means for converting the fourth generation language specification into an object oriented model of the fourth generation language specification;
code templates comprising fragments of code;
means for mapping the object oriented model to the code templates; and
means for parsing the mapped code templates to produce source code in a desired target language.
0 Assignments
0 Petitions
Accused Products
Abstract
A system for generating target language source code utilizing an object oriented code generator is disclosed. A desired computer programming function is specified using a fourth generation language. An object oriented converter converts the fourth generation language specification into an object oriented model which retains the function and inter-relationships defined in the specification. The object oriented model is applied against a set of source code templates for a desired target language, which will typically be a third generation language. An object oriented generator engine parses the resulting collection of templates to form source code files having the desired programming function in the desired target language.
-
Citations
11 Claims
-
1. In a computing environment, a system for converting a fourth generation language specification into target language source code, comprising:
-
means for converting the fourth generation language specification into an object oriented model of the fourth generation language specification;
code templates comprising fragments of code;
means for mapping the object oriented model to the code templates; and
means for parsing the mapped code templates to produce source code in a desired target language. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for converting a fourth generation language program model into third generation language source code, comprising the steps of:
-
converting the fourth generation language program model into an object oriented language equivalent of the model;
mapping each object from the object oriented language equivalent of the model to a corresponding template from a set of code templates associated with a target language; and
parsing the mapped code templates to produce source code in the target language.
-
-
7. Computer readable code stored on media for execution in a computing environment which includes an object oriented execution environment, said computer readable code for converting an object oriented program into target language code, comprising:
-
a set of source code templates corresponding to each available target language, each of the source code templates comprising source code fragments in its corresponding target language and object oriented code;
first processes for mapping each object in the object oriented program to the source code template which corresponds to the object in the set of source code templates which corresponds to the target language; and
second processes for parsing the mapped source code templates by extracting the source code fragments from each mapped source code template, executing the object oriented code in each mapped source code template to produce additional source code fragments, combining the additional source code fragments and the source code fragments, and outputting resulting source code.
-
-
8. Computer readable code included on media for converting a fourth generation language specification into target language source code, comprising:
-
first subprocesses for converting the fourth generation language specification into an object oriented model of the fourth generation language specification;
code templates comprising fragments of code;
second subprocesses for mapping the object oriented model to the code templates; and
third subprocesses for parsing the mapped code templates to produce target language source code. - View Dependent Claims (9, 10, 11)
-
Specification