A Model-Driven Approach to Generate External DSLs from Object-Oriented APIs - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2015

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

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.
Fichier principal
Vignette du fichier
dslit.pdf (275.54 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01094214 , version 1 (11-12-2014)

Identifiers

  • HAL Id : hal-01094214 , version 1

Cite

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. pp.423-435. ⟨hal-01094214⟩
220 View
492 Download

Share

More