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, *
* Corresponding author
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.
Complete list of metadatas

https://hal.inria.fr/inria-00561219
Contributor : Olivier Zendra <>
Submitted on : Monday, January 31, 2011 - 6:21:26 PM
Last modification on : Thursday, January 11, 2018 - 6:19:48 AM

Identifiers

  • 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⟩

Share

Metrics

Record views

212