System And Method For Creating Target Byte Code
AssigneeAptana, Inc.
InventorsPaul Colton, Kevin Edward Lindsey, Roland Ingomar Muschenetz, Robin Sean Debreuil
Life of this patent
Estimating the term…
Abstract
A system and method for converting byte code of a first type into byte code of a second type. Byte code of a first type is received as input. The first byte code is converted into constituent byte code data elements that can comprise any logical unit or grouping of at least a portion of a software application. The first byte code data elements are mapped to data elements of a second byte code type. The second byte code data elements are assembled into a resulting second byte code.
Claims5
A method of converting byte code of a first type into byte code of a second type, the method comprising:
- receiving a first byte code, wherein the first byte code is compiled from source code comprising Common Language Infrastructure programming language;
- converting said first byte code into an intermediate language format;
- parsing the intermediate language format to create an intermediate data structure wherein the intermediate data structure represents the syntactic structure of the first byte code;
- converting Markup language into an object graph;
- and,
- converting the object graph and the intermediate data structure into a second byte code comprising SWF byte code language format.
A method of converting byte code of a first type into byte code of a second type, comprising:
- receiving a first byte code, wherein the first byte code is compiled from source code comprising Common Language Infrastructure programming language;
- converting the first byte code into a plurality of data elements comprising namespaces, types, attributes and members
- mapping the namespaces data element of the first byte code to a SWF indexes data element, mapping the types of the first byte code to at least SWF functions data element and SWF integers data element, and mapping the members of the first byte code to at least SWF object property data element and SWF event methods data element;
- converting the SWF indexes data element, the SWF functions data element, the SWF integers data element, the SWF object property data element and the SWF event methods data element into a second byte code comprising SWF byte code language format.
A method of converting byte code of a first type into byte code of a second type, the method comprising:
- receiving a first byte code comprising Common Language Infrastructure opcode;
- separating the Common Language Infrastructure opcode into a plurality of categories comprising instantiations, stack operators, field access operators, method calls, argument access operators, comparison operators, mathematical operators, casting and conversion operators and exception handlers;
- mapping each of the plurality of categories to a plurality of SWF action data elements;
- converting the plurality of SWF action data elements into a second byte code.
Dependencies are inferred from the claim text.