Compiling Late Binding in Object-Oriented Languages with a Copy-and-Adapt Technique. Application to the Eiffel Language - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 1996

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

Suzanne Collin
  • Function : Author
  • PersonId : 763762
  • IdRef : 190027029

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.
Not file

Dates and versions

inria-00561219 , version 1 (31-01-2011)

Identifiers

  • HAL Id : inria-00561219 , version 1

Cite

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⟩
125 View
0 Download

Share

Gmail Facebook Twitter LinkedIn More