Interpreter-based program language translator using embedded interpreter types and variables
AssigneeOptumSoft, Inc.
InventorDavid R. Cheriton
Life of this patent
Estimating the term…
Abstract
A programming language is extended to have embedded interpretive types (EIT) that define objects and variables to be resolved at translation time. A variable or data element having a type that is one of the EITs is referred to as an embedded interpretive variable (EIV). A control construct containing an EIV is interpreted (i.e. executed) at translation time.
Claims11
A method for automatically translating a computer program to a computer executable form, the method comprising:
- providing an input computer program expressed in an input computer language, wherein said input computer language includes a first set of data types for language elements or constructs to be evaluated at run time, and a second set of data types for language elements or constructs to be evaluated at translation time;
- wherein said input computer program includes at least one element or construct having a type in said first set of data types and includes at least one element or construct having a type in said second set of data types;
- automatically translating said input computer program to a computer executable output representation, wherein said at least one element or construct having a type in said second set of data types is evaluated during said automatically translating;
- and
- providing said computer executable output representation as an output.
Computer apparatus programmed to execute a method for automatically translating a computer program to a computer executable form, the method comprising:
- providing an input computer program expressed in an input computer language, wherein said input computer language includes a first set of data types for language elements or constructs to be evaluated at run time, and a second set of data types for language elements or constructs to be evaluated at translation time;
- wherein said input computer program includes at least one element or construct having a type in said first set of data types and includes at least one element or construct having a type in said second set of data types;
- automatically translating said input computer program to a computer executable output representation, wherein said at least one element or construct having a type in said second set of data types is evaluated during said automatically translating;
- and
- providing said computer executable output representation as an output.
A computer readable medium including a set of computer instructions for automatically performing a method for automatically translating a computer program to a computer executable form, the method comprising:
- providing an input computer program expressed in an input computer language, wherein said input computer language includes a first set of data types for language, elements or constructs to be evaluated at run time, and a second set of data types for language elements or constructs to be evaluated at translation time;
- wherein said input computer program includes at least one element or construct having a type in said first set of data types and includes at least one element or construct having a type in said second set of data types;
- automatically translating said input computer program to a computer executable output representation, wherein said at least one element or construct having a type in said second set of data types is evaluated during said automatically translating;
- and
- providing said computer executable output representation as an output.
Dependencies are inferred from the claim text.