Gradual typing for objects (2007)
Cached
Download Links
- [ece.colorado.edu]
- [www.cs.colorado.edu]
- [ecee.colorado.edu]
- [ece-www.colorado.edu]
- DBLP
Other Repositories/Bibliography
| Venue: | In ECOOP 2007, volume 4609 of LCNS |
| Citations: | 30 - 4 self |
BibTeX
@INPROCEEDINGS{Siek07gradualtyping,
author = {Jeremy Siek and Walid Taha},
title = {Gradual typing for objects},
booktitle = {In ECOOP 2007, volume 4609 of LCNS},
year = {2007},
pages = {2--27},
publisher = {Springer Verlag}
}
Years of Citing Articles
OpenURL
Abstract
Abstract. Static and dynamic type systems have well-known strengths and weaknesses. In previous work we developed a gradual type system for a functional calculus named λ? →. Gradual typing provides the benefits of both static and dynamic checking in a single language by allowing the programmer to control whether a portion of the program is type checked at compile-time or run-time by adding or removing type annotations on variables. Several object-oriented scripting languages are preparing to add static checking. To support that work this paper develops Ob? <:, a gradual type system for object-based languages, extending the Ob<: calculus of Abadi and Cardelli. Our primary contribution is to show that gradual typing and subtyping are orthogonal and can be combined in a principled fashion. We also develop a small-step semantics, provide a machine-checked proof of type safety, and improve the space efficiency of higher-order casts. 1







