A Model-Driven Approach to Generate External DSLs from Object-Oriented APIs

Valerio Cosentino 1, 2, 3 Massimo Tisi 2, 1, 3 Javier Luis Cánovas Izquierdo 2, 1, 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
Abstract : Developers in modern general-purpose programming languages cre-ate reusable code libraries by encapsulating them in Applications Programming Interfaces (APIs). Domain-specific languages (DSLs) can be developed as an al-ternative method for code abstraction and distribution, sometimes preferable to APIs because of their expressivity and tailored development environment. How-ever the cost of implementing a fully functional development environment for a DSL is generally higher. In this paper we propose DSLit, a prototype-tool that, given an existing API, reduces the cost of developing a corresponding DSL by analyzing the API, automatically generating a semantically equivalent DSL with its complete development environment, and allowing for user customization. To build this bridge between the API and DSL technical spaces we make use of exist-ing Model-Driven Engineering (MDE) techniques, further promoting the vision of MDE as a unifying technical space.
Type de document :
Communication dans un congrès
41st International Conference on Current Trends in Theory and Practice of Computer Science, Jan 2015, Pec pod Sněžkou, Czech Republic. SOFSEM 2015: THEORY AND PRACTICE OF COMPUTER SCIENCE, 8939, pp.423-435, Book Series: Lecture Notes in Computer Science
Liste complète des métadonnées


https://hal.inria.fr/hal-01094214
Contributeur : Valerio Cosentino <>
Soumis le : jeudi 11 décembre 2014 - 18:55:20
Dernière modification le : mercredi 20 janvier 2016 - 11:10:31
Document(s) archivé(s) le : jeudi 12 mars 2015 - 11:20:38

Fichier

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

Identifiants

  • HAL Id : hal-01094214, version 1

Collections

Citation

Valerio Cosentino, Massimo Tisi, Javier Luis Cánovas Izquierdo. A Model-Driven Approach to Generate External DSLs from Object-Oriented APIs. 41st International Conference on Current Trends in Theory and Practice of Computer Science, Jan 2015, Pec pod Sněžkou, Czech Republic. SOFSEM 2015: THEORY AND PRACTICE OF COMPUTER SCIENCE, 8939, pp.423-435, Book Series: Lecture Notes in Computer Science. <hal-01094214>

Partager

Métriques

Consultations de
la notice

227

Téléchargements du document

253