Analyzing Module Diversity - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Journal of Universal Computer Science Year : 2005

Analyzing Module Diversity

Abstract

Each object-oriented programming language proposes various grouping mechanisms to bundle interacting classes (i.e., packages, modules, selector namespaces, etc). To understand this diversity and to compare the different approaches, a common foundation is needed. In this paper we present a simple module calculus consisting of a small set of operators over environments and modules. Using these operators, we are then able to specify a set of module combinators that capture the semantics of Java packages, C# namespaces, Ruby modules, selector namespaces, gbeta classes, classboxes, MZScheme units, and MixJuice modules. We develop a simple taxonomy of module systems, and show how particular combinations of module operators help us to draw sharp distinctions between classes of module systems that share similar characteristics.
Fichier principal
Vignette du fichier
jucs_11_10_1613_1644_bergel.pdf (357.24 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01352809 , version 1 (09-08-2016)

Identifiers

Cite

Alexandre Bergel, Stéphane Ducasse, Oscar Nierstrasz. Analyzing Module Diversity. Journal of Universal Computer Science, 2005, 11 (10), pp.32. ⟨10.3217/jucs-011-10-1613⟩. ⟨hal-01352809⟩
106 View
83 Download

Altmetric

Share

Gmail Facebook X LinkedIn More