A Unified Type System for Object-Oriented Programming
Keyword(s):
New Type
◽
We present a new type system for object-oriented languages with assignments. Types are sets of classes, subtyping is set inclusion, and genericity is class substitution. The type system enables separate compilation, and unifies, generalizes, and simplifies the type systems underlying SIMULA/BETA, C++, EIFFEL, and Typed Smalltalk, and the type system with type substitutions proposed by Palsberg and Schwartzbach, Classes and types are both modeled as node-labeled, ordered regular trees; this allows an efficient type-checking algorithm.
Keyword(s):
1994 ◽
Vol 4
(2)
◽
pp. 127-206
◽
2008 ◽
Vol 18
(3)
◽
pp. 285-331
◽
1994 ◽
Vol 4
(2)
◽
pp. 125-125
◽
1991 ◽
Vol 1
(1)
◽
pp. 3-48
◽
Keyword(s):
Keyword(s):