System for translating programming languages
First Claim
Patent Images
1. A computer language translating system for translating a first OOP computer language source code to a second OOP computer language source code, comprising:
- a computer having a storage;
an emulated Application Programming Interface library having a table and accessible by said computer, said library including data indicative of types of data manipulations between the first computer language source code and the second computer language source code, said table including second computer language equivalent functions callable by said second computer language;
an analyzer analyzing the type of data manipulation the first computer language source code performs, said analyzer accessing said table of said emulation library and correlating the type of data manipulation the first computer language source code performs to a second computer language equivalent function; and
a generator generating second computer language source code based on the identified equivalent functions such that second computer language source code emulates the type of data manipulation the first computer language source code performs;
said second computer language source code providing discreet functionality that is independent from the first computer language source code such that said generated second computer language source code can independently provide the equivalent type of data manipulations provided in said first computer language source code without reference to the first computer language source code.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer language translator that translates all or any portion thereof of source code in an original computer language to source code in a target computer language, which may then be translated back to the original language while still maintaining concept, syntax, form of expression, and formatting of the original source code.
-
Citations
27 Claims
-
1. A computer language translating system for translating a first OOP computer language source code to a second OOP computer language source code, comprising:
-
a computer having a storage; an emulated Application Programming Interface library having a table and accessible by said computer, said library including data indicative of types of data manipulations between the first computer language source code and the second computer language source code, said table including second computer language equivalent functions callable by said second computer language; an analyzer analyzing the type of data manipulation the first computer language source code performs, said analyzer accessing said table of said emulation library and correlating the type of data manipulation the first computer language source code performs to a second computer language equivalent function; and a generator generating second computer language source code based on the identified equivalent functions such that second computer language source code emulates the type of data manipulation the first computer language source code performs; said second computer language source code providing discreet functionality that is independent from the first computer language source code such that said generated second computer language source code can independently provide the equivalent type of data manipulations provided in said first computer language source code without reference to the first computer language source code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for translating a first OOP computer language source code to a second OOP computer language source code comprising the steps of:
-
inputting the first computer language source code into a computer; parsing the first computer language source code into parsed elements; analyzing the parsed elements to determine a type of data manipulation the first computer language source code performs; referencing an emulation Application Programming Interface library including second computer language equivalent functions that emulate the first computer language data manipulations; selecting second computer language equivalent functions from the emulation library that emulate the first computer language data manipulations; building class declarations and class definitions from the parsed elements that independently provide the equivalent type of data manipulations provided in the first computer language source code without reference to the first computer language source code; generating the second computer language source code according to the class declarations and class definitions, the second computer language source code emulating the type of data manipulation the first computer language source code performs; the second computer language source code referencing the Application Programming Interface library based on the selected equivalent functions emulating the first computer language. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer language translating system for translating a Java source code to an OOP language source code, comprising:
-
a computer having a storage; an emulation Application Programming Interface library having a table and accessible by said computer including data indicative of types of data manipulations between the Java source code and the OOP language source code, said table including OOP language equivalent functions callable by said OOP computer language; an analyzer analyzing the Java source code to determine a type of data manipulation the Java source code performs, said analyzer accessing said table of said emulation library and correlating the type of data manipulation the Java source code performs to a OOP language equivalent function; and a generator generating OOP language source code based on the identified equivalent functions such that OOP language source code emulates the type of data manipulation the Java source code performs; said OOP language source code providing discreet functionality that is independent from the Java source code such that said generated OOP source code can independently provide the equivalent type of data manipulations provided in said Java source code without reference to Java source code. - View Dependent Claims (24, 25)
-
-
26. A method for translating a first OOP computer language source code that performs a data manipulation with a virtual machine to a second OOP computer language source code that performs a data manipulation without use of a virtual machine, comprising the steps of:
-
analyzing the first OOP computer language source code to determine a type of data manipulation the first OOP computer language source code performs; referencing an emulation Application Programming Interface library including second OOP computer language equivalent functions that emulate the first OOP computer language data manipulations; correlating the type of data manipulation of the first OOP computer language source code performs to a second OOP computer language equivalent function; generating the second OOP computer language source code based on the identified equivalent functions such that the second OOP language source code emulates the type of data manipulation the first OOP computer language source code performs; and the second OOP computer language referencing the Application Programming Interface library to perform a data manipulation with the second OOP computer language source code that emulates the type of data manipulation the first OOP computer language source code performs, the second OOP computer language source code performing the data manipulation without use of a virtual machine.
-
-
27. A method for translating a first OOP computer language source code that performs a data manipulation with a garbage collector to a second OOP computer language source code that performs a data manipulation without use of a garbage collector, comprising the steps of:
-
analyzing the first OOP computer language source code to determine a type of data manipulation the first OOP computer language source code performs; referencing an emulation Application Programming Interface library including second OOP computer language equivalent functions that emulate the first OOP computer language data manipulations; correlating the type of data manipulation of the first OOP computer language source code performs to a second OOP computer language equivalent function; generating the second OOP computer language source code based on the identified equivalent functions such that the second OOP language source code emulates the type of data manipulation the first OOP computer language source code performs; and the second OOP computer language referencing the Application Programming Interface library to perform a data manipulation with the second OOP computer language source code that emulates the type of data manipulation the first OOP computer language source code performs, the second OOP computer language source code performing the data manipulation without use of a garbage collector.
-
Specification