Revisiting Visitors for Modular Extension of Executable DSMLs

Abstract : Executable Domain-Specific Modeling Languages (xDSMLs) are typically defined by metamodels that specify their abstract syntax, and model interpreters or compilers that define their execution semantics. To face the proliferation of xDSMLs in many domains, it is important to provide language engineering facilities for opportunistic reuse, extension, and customization of existing xDSMLs to ease the definition of new ones. Current approaches to language reuse either require to anticipate reuse, make use of advanced features that are not widely available in programming languages, or are not directly applicable to metamodel-based xDSMLs. In this paper, we propose a new language implementation pattern, named REVISITOR, that enables independent extensibility of the syntax and semantics of metamodel-based xDSMLs with incremental compilation and without anticipation. We seamlessly implement our approach alongside the compilation chain of the Eclipse Modeling Framework, thereby demonstrating that it is directly and broadly applicable in various modeling environments. We show how it can be employed to incrementally extend both the syntax and semantics of the fUML language without requiring anticipation or re-compilation of existing code, and with acceptable performance penalty compared to classical handmade visitors.
Type de document :
Communication dans un congrès
ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems, Sep 2017, Austin, United States
Liste complète des métadonnées

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

https://hal.inria.fr/hal-01568169
Contributeur : Thomas Degueule <>
Soumis le : lundi 24 juillet 2017 - 22:34:59
Dernière modification le : jeudi 12 octobre 2017 - 22:38:01

Fichier

models17-revisitors.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01568169, version 1

Citation

Manuel Leduc, Thomas Degueule, Benoit Combemale, Tijs Van Der Storm, Olivier Barais. Revisiting Visitors for Modular Extension of Executable DSMLs. ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems, Sep 2017, Austin, United States. 〈hal-01568169〉

Partager

Métriques

Consultations de
la notice

293

Téléchargements du document

246