US2012143589A1PendingUtilityA1

Multi-modal compiling apparatus and method for generating a hybrid codefile

32
Assignee: BEALE ANDREW WARDPriority: Dec 7, 2010Filed: Dec 7, 2010Published: Jun 7, 2012
Est. expiryDec 7, 2030(~4.4 yrs left)· nominal 20-yr term from priority
G06F 8/47G06F 9/45516
32
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A non-native, multi-modal compiler and an emulated computing environment for use in a native computing environment. The multi-modal compiler includes a parser configured to parse or divide received source code into a plurality of token elements, whereby at least one statement is recognized from a collection of token elements. The multi-modal compiler also includes a code emitter configured to emit machine code to implement the at least one statement, whereby the emitted machine code is compiled multi-modal object code that includes non-native operators (e.g., E-Mode operators) and NATV operators. The compiled multi-modal object code is configured in such a way that when translated by a code translation unit, the compiled multi-modal object code generates a merged codefile having translated native code segments corresponding to the non-native operators and native code segments corresponding to the NATV operators. The merged codefile is executable by a native processor in the native computing environment.

Claims

exact text as granted — not AI-modified
1 . A multi-modal compiling apparatus, wherein the multi-modal compiling apparatus is a non-native compiler for use in a native computing environment, comprising:
 a parser configured for receiving a program source code, wherein the parser is configured to manipulate at least a portion of the program source code into a plurality of token code elements in such a way that at least one statement is recognized from a collection of token code elements; and   a code emitter configured to emit machine code to implement at least one statement, wherein the emitted machine code comprises compiled multi-modal object code corresponding to the program source code, wherein the compiled multi-modal object code includes at least one first or non-native operator and at least one second or NATV operator,   wherein the compiled multi-modal object code is configured to generate a merged codefile having at least one translated native code segment corresponding to the at least one non-native operator and at least one native code segment corresponding to the at least one NATV operator,   wherein the merged codefile is executable by a native processor within the native computing environment.   
     
     
         2 . The apparatus as recited in  claim 1 , wherein the compiled multi-modal object code includes at least one first or non-native code segment and at least one second or non-native/NATV code segment. 
     
     
         3 . The apparatus as recited in  claim 2 , wherein the at least one first or non-native code segment includes at least one non-native operator, and wherein the at least one second or non-native/NATV code segment includes at least one non-native/NATV code segment extension portion having at least one non-native operator and at least one NATV operator. 
     
     
         4 . The apparatus as recited in  claim 2 , wherein the at least one second or non-native/NATV code segment includes at least one second or normal code segment portion residing behind a corresponding NATV operator from a non-native/NATV code segment extension portion. 
     
     
         5 . The apparatus as recited in  claim 1 , wherein the merged codefile is generated by a code translation unit coupled to the multi-modal compiler and configured for receiving compiled multi-modal object code. 
     
     
         6 . The apparatus as recited in  claim 5 , wherein the code translation unit includes a dynamic binary translation (DBT) module that performs dynamic binary translation, and wherein the translated native code segment includes DBT native code. 
     
     
         7 . The apparatus as recited in  claim 1 , wherein the emulated computing environment includes a Master Control Program (MCP) environment, and wherein the operating system in the first computing environment is the MCP operating system, and wherein at least one of the non-native operators includes an E-Mode operator. 
     
     
         8 . The apparatus as recited in  claim 1 , wherein the native computing environment includes a native processor, and wherein the multi-modal compiling apparatus is included within an interpreter, and wherein the interpreter is included within the native processor. 
     
     
         9 . An emulated computing environment for use within a native computing environment having a native processor, comprising:
 a non-native compiler configured for receiving a program source code, wherein the non-native compiler is configured to generate a compiled multi-modal object code corresponding to the program source code, wherein the compiled multi-modal object code includes at least one first or non-native code segment and at least one second or non-native/NATV code segment; and   a non-native translator coupled to the non-native compiler and configured for receiving compiled multi-modal object code, wherein the non-native translator is configured to generate a merged codefile having at least one translated native code segment corresponding to the at least one non-native operator and at least one native code segment corresponding to the at least one NATV operator,   wherein the merged codefile is configured to be executed by the native processor.   
     
     
         10 . The emulated computing environment as recited in  claim 9 , wherein the at least one first or non-native code segment includes at least one non-native operator, and wherein the at least one second or non-native/NATV code segment includes at least one non-native/NATV code segment extension portion having at least one non-native operator and at least one NATV operator. 
     
     
         11 . The emulated computing environment as recited in  claim 10 , wherein the at least one second or non-native/NATV code segment includes at least one second or normal code segment portion residing behind a corresponding NATV operator from a non-native/NATV code segment extension portion. 
     
     
         12 . The emulated computing environment as recited in  claim 9 , wherein the emulated computing environment includes a Master Control Program (MCP) environment, and wherein the operating system in the first computing environment is the MCP operating system, and wherein at least one of the non-native operators includes an E-Mode operator. 
     
     
         13 . The emulated computing environment as recited in  claim 9 , wherein the non-native translator includes a dynamic binary translation (DBT) module that performs dynamic binary translation, and wherein the translated native code segment includes DBT native code. 
     
     
         14 . The emulated computing environment as recited in  claim 9 , wherein the native computing environment includes a native processor, and wherein the non-native compiler and the non-native translator are included within an interpreter, and wherein the interpreter is included within the native processor. 
     
     
         15 . A method for generating a hybrid codefile for execution in a native computing environment, comprising:
 receiving a program source code by a parser configured to manipulate at least a portion of the program source code into a plurality of token code elements in such a way that at least one statement is recognized from a collection of token code elements;   emitting machine code by a code emitter configured to implement at least one statement, wherein the emitted machine code comprises compiled multi-modal object code corresponding to the program source code, wherein the compiled multi-modal object code includes at least one first or non-native code segment and at least one second or non-native/NATV code segment; and   translating by a code translation unit the compiled multi-modal object code into a merged codefile having at least one translated native code segment corresponding to the at least one first or non-native code segment and at least one native code segment corresponding to the at least one second or non-native/NATV code segment,   wherein the merged codefile is executable by a native processor within the native processing environment.   
     
     
         16 . The method as recited in  claim 15 , wherein the at least one first or non-native code segment includes at least one non-native operator, and wherein the at least one second or non-native/NATV code segment includes at least one non-native/NATV code segment extension portion having at least one non-native operator and at least one NATV operator. 
     
     
         17 . The method as recited in  claim 16 , wherein the at least one second or non-native/NATV code segment includes at least one second or normal code segment portion residing behind a corresponding NATV operator from a non-native/NATV code segment extension portion. 
     
     
         18 . The method as recited in  claim 15 , wherein the emulated computing environment includes a Master Control Program (MCP) environment, and wherein the operating system in the first computing environment is the MCP operating system, and wherein at least one of the non-native operators includes an E-Mode operator. 
     
     
         19 . The method as recited in  claim 15 , wherein the code translation unit includes a dynamic binary translation (DBT) module that performs dynamic binary translation, and wherein the translated native code segment includes DBT native code. 
     
     
         20 . A hybrid code stream, comprising:
 at least one first or non-native code segment having at least one non-native code portion; and   at least one second or non-native/NATV code segment having at least one non-native/NATV code segment extension portion, wherein the at least one non-native/NATV code segment portion includes at least one non-native operator and at least one NATV operator, and wherein the at least one second or non-native/NATV code segment includes at least one second or normal code portion residing behind a corresponding NATV operator from,   wherein the hybrid codefile is configured for execution by a native processor.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.