Revisiting Visitors for Modular Extension of Executable DSMLs - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2017

Revisiting Visitors for Modular Extension of Executable DSMLs

Manuel Leduc
Thomas Degueule
Benoit Combemale
Olivier Barais
  • Fonction : Auteur
  • PersonId : 964001

Résumé

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.
Fichier principal
Vignette du fichier
models17-revisitors.pdf (416.57 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01568169 , version 1 (24-07-2017)

Identifiants

Citer

Manuel Leduc, Thomas Degueule, Benoit Combemale, Tijs van Der Storm, Olivier Barais. Revisiting Visitors for Modular Extension of Executable DSMLs. 2017 ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems, Sep 2017, Austin, United States. ⟨10.1109/MODELS.2017.23⟩. ⟨hal-01568169⟩
699 Consultations
830 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More