Automatic Transformation from Ecore Metamodels towards Gallina Inductive Types

Jérémy Buisson, Seidali Rehab

2018

Abstract

When engineering a language (and its compiler), it is convenient to use widespread and easy-to-use MDE frameworks like Xtext that automatically generate a compiler infrastructure, and even a full-featured IDE. At the same time, a formal workbench such as a proof assistant is helpful to ensure the language specification is sound. Unfortunately, the two technical spaces hardly integrate. In this paper, we propose a transformation from Ecore's metametamodel to Coq's language named Gallina/Vernacular. The structural fragment of Ecore is fully handled. At the cost of not being bijective, our transformation has relaxed constraints over the input metamodel, in comparison to previous state of the art. To validate, we have used the proposed transformation with a complete and representative test suite, as well as a proof-carrying code type checker.

Download


Paper Citation


in Harvard Style

Buisson J. and Rehab S. (2018). Automatic Transformation from Ecore Metamodels towards Gallina Inductive Types.In Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-283-7, pages 488-495. DOI: 10.5220/0006608604880495


in Bibtex Style

@conference{modelsward18,
author={Jérémy Buisson and Seidali Rehab},
title={Automatic Transformation from Ecore Metamodels towards Gallina Inductive Types},
booktitle={Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2018},
pages={488-495},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006608604880495},
isbn={978-989-758-283-7},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Automatic Transformation from Ecore Metamodels towards Gallina Inductive Types
SN - 978-989-758-283-7
AU - Buisson J.
AU - Rehab S.
PY - 2018
SP - 488
EP - 495
DO - 10.5220/0006608604880495