Towards a Tool for Featherweight OCL: A Case Study On Semantic Reflection - Archive ouverte HAL Access content directly
Conference Papers Year : 2014

Towards a Tool for Featherweight OCL: A Case Study On Semantic Reflection

(1, 2, 3) , (1, 2, 3, 4) , (1, 2, 3)
1
2
3
4

Abstract

We show how modern proof environments comprising code generators and reflection facilities can be used for the effective construction of a tool for OCL. For this end, we define a UML/OCL meta-model in HOL, a meta-model for Isabelle/HOL in HOL, and a compiling function between them over the vocabulary of the libraries provided by Featherweight OCL. We use the code generator of Isabelle to generate executable code for the compiler, which is bound to a USE tool-like syntax integrated in Isabelle/Featherweight OCL. It generates for an arbitrary class model an object-oriented datatype theory and proves the relevant properties for casts, type-tests, constructors and selectors automatically.
Not file

Dates and versions

hal-01214466 , version 1 (12-10-2015)

Identifiers

  • HAL Id : hal-01214466 , version 1

Cite

Delphine Longuet, Frédéric Tuong, Burkhart Wolff. Towards a Tool for Featherweight OCL: A Case Study On Semantic Reflection. Proceedings of the 14th International Workshop on OCL and Textual Modelling co-located with 17th International Conference on Model Driven Engineering Languages and Systems (MODELS 2014), Sep 2014, Valencia, Spain. ⟨hal-01214466⟩
102 View
0 Download

Share

Gmail Facebook Twitter LinkedIn More