Classboxes: A Minimal Module Model Supporting Local Rebinding

Abstract : Classical module systems support well the modular development of applications but do not offer the ability to add or replace a method in a class that is not defined in that module. On the other hand, languages that support method addition and replacement do not provide a modular view of applications, and their changes have a global impact. The result is a gap between module systems for object-oriented languages on one hand, and the very desirable feature of method addition and replacement on the other hand. To solve these problems we present classboxes, a module system for object-oriented languages that provides method addition and replacement. Moreover, the changes made by a classbox are only visible to that classbox (or classboxes that import it), a feature we call local rebinding. To validate the model, we have implemented it in the Squeak Smalltalk environment, and performed experiments modularising code.
Type de document :
Communication dans un congrès
Joint Modular Languages Conference (JMLC'03), Aug 2003, Klagenfurt, Austria. 2003
Liste complète des métadonnées

Littérature citée [17 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00533446
Contributeur : Lse Lse <>
Soumis le : samedi 6 novembre 2010 - 12:09:29
Dernière modification le : lundi 8 novembre 2010 - 10:57:13
Document(s) archivé(s) le : lundi 7 février 2011 - 02:28:08

Fichier

Berg03a-JMLC03-Classboxes.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00533446, version 1

Citation

Alexandre Bergel, Stéphane Ducasse, Roel Wuyts. Classboxes: A Minimal Module Model Supporting Local Rebinding. Joint Modular Languages Conference (JMLC'03), Aug 2003, Klagenfurt, Austria. 2003. 〈inria-00533446〉

Partager

Métriques

Consultations de la notice

71

Téléchargements de fichiers

153