Program code conversion
AssigneeTransitive Limited
InventorsJason Souloglou, Alasdair Rawsthorne
Life of this patent
Estimating the term…
Abstract
A method for generating an intermediate representation of computer program code written for running on a programmable machine comprises: (i) generating a plurality of register objects for holding variable values to be generated by the program code; and (ii) generating a plurality of expression objects representing fixed values and/or relationships between said fixed values and said variable values according to said program code; said objects being organized into a branched tree-like network having all register objects at the lowest basic root or tree-trunk level of the network with no register object feeding into any other register object.
Claims18
A method of generating an intermediate representation of program code, the method comprising the computer implemented steps of:
- generating a plurality of register objects representing abstract registers, a single register object representing a respective abstract register;
- and
- generating expression objects each representing a different element of said program code as that element arises in the program code, each expression object being referenced by a register object to which it relates either directly, or indirectly via references from other expression objects.
A method for generating an intermediate representation of program code written for running on a programmable machine, said method comprising:
- (i) generating a plurality of register objects for holding variable values to be generated by the program code;
- and
- (ii) generating a plurality of expression objects representing fixed values and/or relationships between said fixed values and said variable values according to said program code;
- said objects being organised into a branched tree-like network having all register objects at the lowest basic root or tree-trunk level of the network with no register object feeding into any other register object.
A system for generating an intermediate representation of program code, comprising:
- means for generating a plurality of register objects representing abstract registers, a single register object representing a respective abstract register;
- and
- means for generating expression objects each representing a different element of said program code as that element arises in the program code, each expression object being referenced by a register object to which it relates either directly, or indirectly via references from other expression objects.
A system for generating an intermediate representation of program code written for running on a programmable machine, the system comprising:
- means for generating a plurality of register objects for holding variable values to be generated by the program code;
- and
- means for generating a plurality of expression objects representing fixed values and/or relationships between said fixed values and said variable values according to said program code;
- wherein said objects are organised into a branched tree-like network having all register objects at the lowest basic root or tree-trunk level of the network with no register object feeding into any other register object.
Dependencies are inferred from the claim text.