Compiling Late Binding in Object-Oriented Languages with a Copy-and-Adapt Technique. Application to the Eiffel Language

Suzanne Collin 1 Dominique Colnet 1 Olivier Zendra 1, *
* Auteur correspondant
1 ECOO - Environment for cooperation
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : We present in this paper a method for late-binding compilation in object-oriented languages. The most important aspect in our technique is that many occurrences of late binding are replaced by static binding. This is possible after considering the calling context of the routine and the type of the target Current. The advantage of this approach is that it decreases considerably the amount of generated code. Another important feature is that the compilation of Eiffel routines is done only for those which exist at run time. We validated our ideas and finalized our technique by realizing a compiler for the Eiffel language. This compiler, which is completely written in Eiffel, allows us to use itself to evaluate the quality of our results.
Type de document :
Rapport
[Research Report] 96-R-068, 1996
Liste complète des métadonnées

https://hal.inria.fr/inria-00561219
Contributeur : Olivier Zendra <>
Soumis le : lundi 31 janvier 2011 - 18:21:26
Dernière modification le : jeudi 11 janvier 2018 - 06:19:48

Identifiants

  • HAL Id : inria-00561219, version 1

Collections

Citation

Suzanne Collin, Dominique Colnet, Olivier Zendra. Compiling Late Binding in Object-Oriented Languages with a Copy-and-Adapt Technique. Application to the Eiffel Language. [Research Report] 96-R-068, 1996. 〈inria-00561219〉

Partager

Métriques

Consultations de la notice

178