Skip to Main content Skip to Navigation
Book sections

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.
Document type :
Book sections
Complete list of metadata

Cited literature [62 references]  Display  Hide  Download
Contributor : Javier Canovas Connect in order to contact the contributor
Submitted on : Friday, November 16, 2012 - 1:20:36 PM
Last modification on : Tuesday, May 3, 2022 - 6:18:17 PM
Long-term archiving on: : Saturday, December 17, 2016 - 11:24:50 AM


Files produced by the author(s)



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⟩



Record views


Files downloads