Patent ID: 8533689
Filing Date: 2013-09-10
Classification: G06F

Abstract:
1. A processor-implemented method for creating an inter-language interface for an executable file written in a legacy language and having an associated header, the method comprising: marking the header to generate a first marked header, wherein the header identifies one or more functions of the executable file and one or more parameters of the respective functions, and wherein marking the header comprises marking the header to define an exposure of the respective functions in an object-oriented architecture of a target language by placing each function in one of several classes and to define usage of the parameters of the respective functions; wrapping the executable file in the legacy language with a first wrapper based at least partially upon the first marked header to create a first wrapped file; associating type maps customized in accordance with the target language with the first marked header in order to generate a second marked header having target language specific directives; and generating an executable file based upon the second marked header by wrapping the first wrapped file with a second wrapper configured to permit execution of the first wrapped file with computer executable instructions in the target language to create a second wrapped file and also generating an interface layer configured to associate functions in the legacy language with methods in the target language and to define the usage of the parameters of the functions in the legacy language in the target language.