More dynamic object reclassification: Fickle∥

  • Authors:
  • Sophia Drossopoulou;Ferruccio Damiani;Mariangiola Dezani-Ciancaglini;Paola Giannini

  • Affiliations:
  • Imperial College, London, U.K.;Università di Torino, Torino, Italy;Università di Torino, Torino, Italy;Università del Piemonte Orientale, Alessandria, Italy

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Reclassification changes the class membership of an object at run-time while retaining its identity. We suggest language features for object reclassification, which extend an imperative, typed, class-based, object-oriented language.We present our proposal through the language Fickle⋄⋄. The imperative features, combined with the requirement for a static and safe type system, provided the main challenges. We develop a type and effect system for Fickle⋄⋄ and prove its soundness with respect to the operational semantics. In particular, even though objects may be reclassified across classes with different members, there will never be an attempt to access nonexisting members.