TYPE INFERENCE AND LATE BINDING
First Claim
Patent Images
1. A program compilation system, comprising:
- an identifier component that identifies compiler options including an inference option associated with a computer program; and
an inference component that infers types as a function of the inference option.
2 Assignments
0 Petitions
Accused Products
Abstract
A type inference option is available for a computer programming language. The option acts as a switch to specify whether or not type inference is applicable (e.g., on or off). Type inference can be employed in conjunction with late binding or options therefor. In this manner, a computer program can be developed with the convenience of type inference and the flexibility of late binding while still maintaining at a degree of type safety.
114 Citations
20 Claims
-
1. A program compilation system, comprising:
-
an identifier component that identifies compiler options including an inference option associated with a computer program; and an inference component that infers types as a function of the inference option. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of program translation, comprising:
-
identifying inference and binding options for a program; inferring types for programmatic constructs that omit a type if the inference option is on; and delaying binding of types to objects until runtime for programmatic constructs annotated with a root type if the binding option is on. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer readable medium having stored thereon a computer program comprising:
-
a plurality of computer programming code; and an option statement within the code that indicates whether or not type inference is to be performed with respect to the code. - View Dependent Claims (18, 19, 20)
-
Specification