A Domain Specific Language for Extracting Models in Software Modernization [chapter]

Javier Luis Cánovas Izquierdo, Jesús García Molina
2009 Lecture Notes in Computer Science  
Model-driven engineering techniques can be used both to create new software and to modernize existing software systems. Modeldriven software modernization requires a first step for the extraction of models. Most modernization scenarios involve dealing with the GPL source code of the existing system. Techniques and tools providing efficient means to extract models from source code are therefore needed. In this paper, we analyze the difficulties encountered when using the existing approaches and
more » ... e propose a language, called Gra2MoL, which is especially tailored to address the problem of model extraction. This provides a powerful query language for concrete syntax trees, and mappings between source grammar elements and target metamodel elements are expressed by rules similar to those found in model transformation languages. Moreover, the approach also allows reusing existing grammars.
doi:10.1007/978-3-642-02674-4_7 fatcat:d345mkzmpfgmhbshujjvzfs23m