A reduction semantics for call-by-value mixin modules - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2002

A reduction semantics for call-by-value mixin modules

Joe B. Wells
  • Fonction : Auteur

Résumé

Module systems are important for software engineering: they facilitate code reuse without compromising the correctness of programs. However, they still lack some flexibility: first, they do not allow mutually recursive definitions to span module boundaries ; second, definitions inside modules are bound early, and cannot be overridden later, as opposed to inheritance and overriding in class-based object-oriented languages, which follow the late binding semantics. This paper examines an alternative, hybrid idea of modularization concept, called mixin modules. We develop a language of call-by-value mixin modules with a reduction semantics, and a sound type system for it, guaranteeing that programs will run correctly.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
RR-4682.pdf (434.27 Ko) Télécharger le fichier
Loading...

Dates et versions

inria-00071903 , version 1 (23-05-2006)

Identifiants

  • HAL Id : inria-00071903 , version 1

Citer

Tom Hirschowitz, Xavier Leroy, Joe B. Wells. A reduction semantics for call-by-value mixin modules. [Research Report] RR-4682, INRIA. 2002. ⟨inria-00071903⟩
124 Consultations
139 Téléchargements

Partager

Gmail Facebook X LinkedIn More