Leveraging legacy applications for use with modern applications
AssigneeBank of America Corporation
InventorWilliam Muldoon
Life of this patent
Estimating the term…
Abstract
An apparatus of one embodiment translates computer code from a first programming language to a second programming language. The apparatus includes an interface, a memory, and a processor. The interface is operable to receive a compiler output that is associated with source code written in a first programming language. The memory is operable to store the compiler output. The processor is communicatively coupled to the interface and the memory and is operable to analyze the data structures within the compiler output, build an internal representation of the source code based on the compiler output, and create a source code template associated with a second programming language.
Claims20
A method for translating computer code, comprising:
- receiving a compiler output, wherein the compiler output comprises a first set of data structures that are associated with a source code written in a first programming language;
- analyzing the first set of data structures within the compiler output;
- building an internal representation of the source code based on the compiler output, wherein building the internal representation comprises mapping the first set of data structures to a second set of data structures associated with a second programming language;
- and
- creating a source code template using the second set of data structures associated with the second programming language.
Non-transitory tangible computer readable storage medium comprising logic, the logic operable, when executed by a processor, to:
- receive a compiler output, wherein the compiler output comprises a first set of data structures that are associated with a source code written in a first programming language;
- analyze the first set of data structures within the compiler output;
- build an internal representation of the source code based on the compiler output, wherein building the internal representation comprises mapping the first set of data structures to a second set of data structures associated with a second programming language;
- and
- create a source code template using the second set of data structures associated with the second programming language.
An apparatus for translating computer code, comprising:
- an interface operable to receive a compiler output, wherein the compiler output comprises a first set of data structures that are associated with a source code written in a first programming language;
- a memory operable to store the compiler output;
- and
- a processor communicatively coupled to the interface and memory, the processor operable to:
- analyze the first set of data structures within the compiler output;
- build an internal representation of the source code based on the compiler output wherein building the internal representation comprises mapping the first set of data structures to a second set of data structures associated with a second programming language;
- and
- create a source code template using the second set of data structures associated with the second programming language.
Dependencies are inferred from the claim text.