Abstract
The reuse of libraries of classes by client applications is an interesting issue quite difficult to achieve, especially when modification of the class tree is needed but not possible because of the context. We propose a solution which is based on the presence of both specialisation and generalisation relationships in an object-oriented programming language. The specification of both relationships is based on a meta-model called OFL which provides a support for describing the operational semantics of a language through the definition of parameters and semantical actions. We propose an overview of the expressiveness of OFL and of its implementation and we give also some other interesting applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
A. Capouillez, P. Crescenzo, and P. Lahire. Le modele OFL au service du metaprogrammeur-Application à Java. In LMO’2002. Hermes Sc Pub., L’objet, vol. 8, N° 1–2/2002, Jan. 2002.
P. Crescenzo. OFL: un modele pour parametrer la semantique operationnelle des langages a objets-Application aux relations inter-classes. PhD. Thesis, University of Nice-Sophia Antipolis, December 2001.
D. Parigot. Web Site of SmartTools. World Wild Web, Dec. 2001. http://www-sop.inria.fr/oasis/SmartTools/.
P. Rapicault and A. Napoli. Evolution d’une hierarchie de classes par interclassement. In LMO’2001. Hermes Sc. Pub., L’objet, vol. 7, N° 1–2/2001, jan. 2001.
M. Sakkinen. Exheritance-Class Generalisation Revived. In ECOOP’2002 (The Inheritance Workshop), jun. 2002.
D. Stoutamire and S. Omohundro. Sather Specification. Technical report, International Computer Science Institute, University of Berkeley, Aug. 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Crescenzo, P., Lahire, P. (2002). Using Both Specialisation and Generalisation in a Programming Language: Why and How?. In: Bruel, JM., Bellahsene, Z. (eds) Advances in Object-Oriented Information Systems. OOIS 2002. Lecture Notes in Computer Science, vol 2426. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46105-1_8
Download citation
DOI: https://doi.org/10.1007/3-540-46105-1_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44088-8
Online ISBN: 978-3-540-46105-0
eBook Packages: Springer Book Archive