Domain-specific Model Editors with Model Completion

Sagar Sen 1 Benoit Baudry 1 Hans Vangheluwe 1, 2
1 TRISKELL - Reliable and efficient component based software engineering
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, Inria Rennes – Bretagne Atlantique
Abstract : Today, integrated development environments such as Eclipse allow users to write programs quickly by presenting a set of recommendations for code completion. Similarly, word processing tools such as Microsoft Word present corrections for grammatical errors in sentences. Both of these existing systems use a set of constraints expressed in the form of a grammar to restrict/correct the user. Taking this idea further, in this paper we present an integrated software system capable of generating recommendations for model completion of partial models built in arbitrary domain speciÞc model editors. We synthesize the model editor equipped with automatic completion from a modelling language's declarative speciÞcation consisting of a meta-model and constraints on it along with a visual syntax. The automatic completion feature is powered by a Prolog engine whose input is a constraint logic program derived from some models. The input logic program is obtained by a model transformation from models in multiple languages: the meta-model (as a class diagram), constraints on it (as constraint logic clauses), and a partial model (in the domain speciÞc language). The Prolog engine solves the generated logic program and the solution(if there is one) is returned to the model editor as a set of recommendations for properties of the partial model. We incorporate automatic completion in the generative tool AToM 3 and use SWI-Prolog for constraint representation and satisfaction. We present examples using an illustrative visual language of Finite State Machines.
Type de document :
Communication dans un congrès
In Proceedings of MPM Workshop associated to MoDELS'07, 2007, Nashville, TN, USA, United States. 2007
Liste complète des métadonnées

Littérature citée [4 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00477554
Contributeur : Didier Vojtisek <>
Soumis le : jeudi 29 avril 2010 - 15:09:22
Dernière modification le : mercredi 16 mai 2018 - 11:23:06
Document(s) archivé(s) le : mercredi 30 novembre 2016 - 17:20:57

Fichier

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

Identifiants

  • HAL Id : inria-00477554, version 1

Citation

Sagar Sen, Benoit Baudry, Hans Vangheluwe. Domain-specific Model Editors with Model Completion. In Proceedings of MPM Workshop associated to MoDELS'07, 2007, Nashville, TN, USA, United States. 2007. 〈inria-00477554〉

Partager

Métriques

Consultations de la notice

316

Téléchargements de fichiers

152