Abstract
We present a translation from Fickle (a Java-like language allowing dynamic object re-classi.cation, that is, objects that can change their class at run-time) into plain Java. The translation is proved to preserve static and dynamic semantics; moreover, it is shown to be effective, in the sense that the translation of a Fickle class does not depend on the implementation of used classes, hence can be done in a separate way, that is, without having their sources, exactly as it happens for Java compilation. The aim is to demonstrate that an extension of Java supporting dynamic object re-classi.cation could be fully compatible with the existing Java environment.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Partially supported by Murst Co.n’99 — TOSCA Project, CNR-GNSAGA, and the EPSRC (Grant Ref: GR/L 76709).
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
D. Ancona, G. Lagorio, and E. Zucca. Jam — a smooth extension of Java with mixins. In ECOOP’00, volume 1850 of LNCS, pages 154–178. Springer, 2000.
Christopher Anderson. Implementing Fickle, Imperial College, final year thesis — to appear, June 2001.
C. Chambers. Predicate Classes. In ECOOP’93, volume 707 of LNCS, pages 268–296. Springer, 1993.
S. Drossopoulou, F. Damiani, M. Dezani-Ciancaglini, and P. Giannini. Fickle: Dynamic object re-classification. In J. L. Knudsen, editor, ECOOP’01, number 2072 in LNCS, pages 130–149. Springer, 2001. Also available in: Electronic proceedings of FOOL8 (http://www.cs.williams.edu/im/FOOL/).
R. Johnson E. Gamma, R. Elm and J. Vlissides. Design Patterns. Addison-Wesley, 1994.
M. D. Ernst, C. Kaplan, and C. Chambers. Predicate Dispatching: A Unified Theory of Dispatch. In ECOOP’98, volume 1445 of LNCS, pages 186–211. Springer, 1998.
M. Serrano. Wide Classes. In ECOOP’99, volume 1628 of LNCS, pages 391–415. Springer, 1999.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ancona, D., Anderson, C., Damiani, F., Drossopoulou, S., Giannini, P., Zucca, E. (2001). An Effective Translation of Fickle into Java. In: Theoretical Computer Science. ICTCS 2001. Lecture Notes in Computer Science, vol 2202. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45446-2_14
Download citation
DOI: https://doi.org/10.1007/3-540-45446-2_14
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42672-1
Online ISBN: 978-3-540-45446-5
eBook Packages: Springer Book Archive