Patent ID: 8527971

Claim:
A method for compiling a computer program from a source code into an executable code, the method comprising the steps of: parsing the source code for defining an abstract parse tree; synthesizing said abstract parse tree for defining data flow and data dependency graphs; refining said data flow and data dependency graphs into a machine data flow graph in order to form ordering constraints; defining a partial execution order with a first portion of the ordering constraints prescribed in the source code, wherein the first portion of the ordering constraints consists of the ordering constraints necessary to satisfy the dependencies in said data flow and data dependency graphs; grouping instructions in said machine data flow graph into parallel executable code by adding a second portion of ordering constraints, wherein the second portion of the ordering constraints consists of ordering constraints necessary to map said machine data flow graph to a computation device; and producing an executable form from said parallel executable code; wherein the method further comprises a step of defining a final execution order for said parallel executable code when said parallel executable code is executed in a computing device or in said step of grouping instructions.