System for translating programming languages
First Claim
Patent Images
1. A computer language translator for translating a first computer language source code to a second computer language source code, comprising:
- a computer;
a library 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;
software executing on said computer, said software analyzing the first computer language source code to identify a type of data manipulation that the first computer language source code performs, accessing said library and correlating the type of data manipulation the first computer language source code performs to second computer language source code, the correlation being independent of the context in which the first computer language source code is used, said software generating second computer language source code that emulates the type of data manipulation the first computer language source code performs.
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.
76 Citations
48 Claims
-
1. A computer language translator for translating a first computer language source code to a second computer language source code, comprising:
-
a computer;
a library 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;
software executing on said computer, said software analyzing the first computer language source code to identify a type of data manipulation that the first computer language source code performs, accessing said library and correlating the type of data manipulation the first computer language source code performs to second computer language source code, the correlation being independent of the context in which the first computer language source code is used, said software generating second computer language source code that emulates the type of data manipulation the first computer language source code performs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer language translating system for translating a first computer language source code to a second computer language source code, comprising:
-
a library accessible by said translating system, said library including data indicative of types of data manipulations between the first computer language source code and the second computer language source code;
a parser for parsing the first computer language source code into parsed elements;
an analyzer for analyzing the parsed elements to identify the type of data manipulation that the first computer language source code performs, said analyzer accessing said library and correlating the type of data manipulation the first computer language source code performs to second computer language source code, the correlation being independent of the context in which the first computer language source code is used; and
a generator for generating second computer language source code that emulates the type of data manipulation the first computer language source code performs. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method for translating a first computer language source code to a second 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;
building class declarations and class definitions from the parsed elements that are independent of the context of 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. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A method for translating a first computer language source code to a second computer language source code comprising the steps of:
-
analyzing the first computer language source code to determine a type of data manipulation the first computer language source code performs;
correlating the type of data manipulation of the first computer language source code performs to second computer language source code, the correlation being independent of the context in which the first computer language source code is used; and
generating the second computer language source code, the second computer language source code emulating the type of data manipulation the first computer language source code performs. - View Dependent Claims (35, 36, 37, 38, 39, 40, 41, 42)
-
-
43. A computer language translating system for translating a Java source code to an OOP language source code, comprising:
-
a library including data indicative of types of data manipulations between the Java source code and the OOP language source code;
an analyzer for analyzing the Java source code to determine a type of data manipulation the Java source code performs, said analyzer accessing said library to correlate the type of data manipulation the Java source code performs to OOP language source code, the correlation being independent of the context in which the Java source code is used; and
a generator for generating OOP language source code that emulates the type of data manipulation the Java source code performs. - View Dependent Claims (44, 45)
-
-
46. A method for translating a portion of Java source code that comprises at least one class to an OOP language source code comprising the steps of:
-
parsing the at least one class into multiple identifiers;
parsing one of the identifiers into name segments;
adjusting the name segments individually and independently from each other according to the OOP language source code;
generating OOP language source code based on the name segments where only a portion of the Java source code is translated to the OOP language source code, the OOP language source code emulating a type of data manipulation the portion of the Java source code performs.
-
-
47. A method for translating a first computer language source code that performs a data manipulation with a virtual machine to a second computer language source code that performs a data manipulation without use of a virtual machine, comprising the steps of:
-
analyzing the first computer language source code to determine a type of data manipulation the first computer language source code performs;
correlating the type of data manipulation of the first computer language source code performs to second computer language source code;
generating the second computer language source code, the second computer language source code emulating the type of data manipulation the first computer language source code performs; and
performing a data manipulation with the second computer language source code that emulates the type of data manipulation the first computer language source code performs, the second computer language source code performing the data manipulation without use of a virtual machine.
-
-
48. A method for translating a first computer language source code that performs a data manipulation with a garbage collector to a second computer language source code that performs a data manipulation without use of a garbage collector, comprising the steps of:
-
analyzing the first computer language source code to determine a type of data manipulation the first computer language source code performs;
correlating the type of data manipulation of the first computer language source code performs to second computer language source code;
generating the second computer language source code, the second computer language source code emulating the type of data manipulation the first computer language source code performs; and
performing a data manipulation with the second computer language source code that emulates the type of data manipulation the first computer language source code performs, the second computer language source code performing the data manipulation without use of a garbage collector.
-
Specification