Method for generating platform independent, language specific computer code
First Claim
Patent Images
1. A method of generating language specific code comprising the steps of:
- receiving a request from a knowledge base to generate target language code from neutral code stored in said knowledge base;
extracting said neutral code from said knowledge base;
preprocessing said neutral code;
providing a code generator with said preprocessed neutral code and a target language in to which said preprocessed neutral code is to be translated; and
processing said preprocessed neutral code by translating said neutral code into said target language code.
5 Assignments
0 Petitions
Accused Products
Abstract
A method of generating language specific code comprising the steps of extracting neutral code from a knowledge base, preprocessing the neutral code, providing a code generator with the preprocessed neutral code and a target language in to which the preprocessed neutral code is to be translated, and processing the preprocessed neutral code by translating the neutral code into a target language code.
226 Citations
17 Claims
-
1. A method of generating language specific code comprising the steps of:
-
receiving a request from a knowledge base to generate target language code from neutral code stored in said knowledge base;
extracting said neutral code from said knowledge base;
preprocessing said neutral code;
providing a code generator with said preprocessed neutral code and a target language in to which said preprocessed neutral code is to be translated; and
processing said preprocessed neutral code by translating said neutral code into said target language code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
requesting syntactic information from a tech blade; and
combining the structure of said neutral code with said syntactic information.
-
-
5. The method of claim 1 wherein the preprocessing of said neutral code comprises the step of removing space characters from variable names.
-
6. The method of claim 1 wherein the preprocessing of said neutral code comprises the step of resolving variable scope conflicts.
-
7. The method of claim 1 wherein the preprocessing of said neutral code comprises the step of interactively alerting a user of possible undefined or misdefined variables.
-
8. The method of claim 1 wherein the code generator is stored as a dynamic link library (DLL).
-
9. A method of generating language specific code comprising the steps of:
-
receiving a request from a knowledge base to generate target language code from neutral code stored in said knowledge base;
extracting said neutral code from said knowledge base;
providing a code generator with said neutral code and a target language in to which said neutral code is to be translated; and
processing said neutral code by translating said neutral code into said target language code. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
a generator comprising the logical rules which form said target language, and a tech blade component comprising the syntax of said target language.
-
-
11. The method of claim 9 wherein processing said neutral code comprises the step of invoking a code generator to translate said neutral code into target language code.
-
12. The method of claim 9 wherein translating said neutral code into target language code comprises the steps of:
-
requesting syntactic information from a tech blade; and
combining the structure of said neutral code with said syntactic information.
-
-
13. The method of claim 9 further comprising preprocessing said neutral code.
-
14. The method of claim 13 wherein the preprocessing of said neutral code comprises the step of removing space characters from variable names.
-
15. The method of claim 13 wherein the preprocessing of said neutral code comprises the step of resolving variable scope conflicts.
-
16. The method of claim 13 wherein the preprocessing of said neutral code comprises the step of interactively alerting a user of possible undefined or misdefined variables.
-
17. The method of claim 9 wherein the code generator is stored as a dynamic link library (DLL).
Specification