Comparison between internal and external DSLs via RubyTL and Gra2MoL - Inria - Institut national de recherche en sciences et technologies du numérique
Chapitre D'ouvrage Année : 2012

Comparison between internal and external DSLs via RubyTL and Gra2MoL

Résumé

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.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
Chapter5.pdf (170.72 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00752687 , version 1 (16-11-2012)

Identifiants

Citer

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⟩
822 Consultations
1359 Téléchargements

Altmetric

Partager

More