MoScript: A DSL for Querying and Manipulating Model Repositories
Megamodels has been proposed as a mechanism to describe large number of modelling and non-modelling artefacts (models, transformations, source code, binary files, etc.) and their complex interrelations, typically required in any non-trivial development project. Despite its growing acceptance, there is a lack of adequate tool support to search, inspect, manipulate, and combine, at a glance, the modelling artefacts represented by Megamodels. In this paper, the authors introduce MoScript: a generic and extensible infrastructure and domain-specific language for Megamodelling. With MoScript users can express queries (based on model content, structure, relationships, and behaviour derived through on-the-fly simulation) to retrieve models from heterogeneous model repositories, manipulate them (e.g., by running transformations onsets of models), and store them back in the repository.