Exploring Membranes for Controlling Aspects

Éric Tanter 1 Nicolas Tabareau 2, 3 Rémi Douence 2
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : In most aspect-oriented languages, aspects have an unrestricted global view of computation. Several approaches for aspect scoping and more strongly encapsulated modules have been formulated to restrict this controversial power of aspects. This paper proposes to leverage the concept of programmable membranes developed by Boudol, Schmitt and Stefani, as a means to tame aspects by customizing the semantics of aspect weaving locally. Membranes subsume previous proposals in a uniform framework. Because membranes give structure to computation, they enable flexible scoping of aspects; because they are programmable, they make it possible to define visibility and safety constraints, both for the advised program and for the aspects. We first de- scribe membranes for AOP without committing to any specific language design. In addition, we then illustrate an extension of AspectScheme with membranes, and explore the instantiation of programmable membranes in the Kell calculus. The power and simplicity of membranes open interesting perspectives to unify multiple approaches that tackle the unrestricted power of aspect-oriented programming.
Type de document :
Rapport
[Research Report] RR-7739, INRIA. 2011, pp.33
Liste complète des métadonnées


https://hal.inria.fr/inria-00592133
Contributeur : Nicolas Tabareau <>
Soumis le : lundi 26 septembre 2011 - 10:17:26
Dernière modification le : samedi 17 septembre 2016 - 01:36:34
Document(s) archivé(s) le : jeudi 30 mars 2017 - 15:52:20

Fichier

RR-7739.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00592133, version 2

Citation

Éric Tanter, Nicolas Tabareau, Rémi Douence. Exploring Membranes for Controlling Aspects. [Research Report] RR-7739, INRIA. 2011, pp.33. <inria-00592133v2>

Partager

Métriques

Consultations de
la notice

508

Téléchargements du document

124