Comparison between internal and external DSLs via RubyTL and Gra2MoL

Jesús Sánchez Cuadrado 1 Javier Cánovas 2 Jesus Garcia Molina 3
2 ATLANMOD - Modeling Technologies for Software Production, Operation, and Evolution
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
3 Modelum
Modelum - Departamento de Informática y Sistemas [Murcia]
Abstract : Domain Specific Languages (DSL) are becoming increasingly more important with the emergence of Model-Driven paradigms. Most literature on DSLs is focused on describing particular languages, and there is still a lack of works that compare different approaches or carry out empirical studies regarding the construction or usage of DSLs. Several design choices must be made when building a DSL, but one important question is whether the DSL will be external or internal, since this affects the other aspects of the language. This chapter aims to provide developers confronting the internal-external dichotomy with guidance, through a comparison of the RubyTL and Gra2MoL model transformations languages, which have been built as an internal DSL and an external DSL, respectively. Both languages will first be introduced, and certain implementation issues will be discussed. The two languages will then be compared, and the advantages and disadvantages of each approach will be shown. Finally, some of the lessons learned will be presented.
Type de document :
Chapitre d'ouvrage
Marjan Mernik. Formal and Practical Aspects of Domain-Specific Languages: Recent Developments, IGI Global, 2012, 9781466620926. <10.4018/978-1-4666-2092-6.ch005>
Liste complète des métadonnées


https://hal.inria.fr/hal-00752687
Contributeur : Javier Canovas <>
Soumis le : vendredi 16 novembre 2012 - 13:20:36
Dernière modification le : mercredi 29 juillet 2015 - 01:26:47
Document(s) archivé(s) le : samedi 17 décembre 2016 - 11:24:50

Fichier

Chapter5.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Jesús Sánchez Cuadrado, Javier Cánovas, Jesus Garcia Molina. Comparison between internal and external DSLs via RubyTL and Gra2MoL. Marjan Mernik. Formal and Practical Aspects of Domain-Specific Languages: Recent Developments, IGI Global, 2012, 9781466620926. <10.4018/978-1-4666-2092-6.ch005>. <hal-00752687>

Partager

Métriques

Consultations de
la notice

495

Téléchargements du document

568