Comparison between internal and external DSLs via RubyTL and Gra2MoL - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Book Sections Year : 2012

Comparison between internal and external DSLs via RubyTL and Gra2MoL


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.


Other [cs.OH]
Fichier principal
Vignette du fichier
Chapter5.pdf (170.72 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

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



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⟩
802 View
1270 Download



Gmail Facebook X LinkedIn More