Patent ID: 6286133
Filing Date: 2001-09-04
Classification: G06F

Abstract:
A method for compiling a source program written in a source language into a compiled program comprising a plurality of different target languages, the method comprising:generating a parse tree from a source program, the parse tree comprising a plurality of nodes each representative of an operation in the source program;determining, for each successive node of the parse tree, a target language selected from a plurality of different target languages into which the node can be compiled based on the operation represented by the node;generating, based on the target language determination, a list of start points each corresponding to a different node of the parse tree and each indicating the target language into which the node is to be compiled; andgenerating successive sections of the compiled program each based on each node of the parse tree between successive start points in the list and each being generated in the target language specified by the first of the successive start points.