Gonzalo Sintas, Leticia Vaz Lutz, Daniel Calegari, Marcos Viera
{"title":"Model-Driven Development of an Interpreter for the Object Constraint Language","authors":"Gonzalo Sintas, Leticia Vaz Lutz, Daniel Calegari, Marcos Viera","doi":"10.1109/CLEI.2018.00023","DOIUrl":null,"url":null,"abstract":"The Object Constraint Language (OCL) plays a central role in many Model-Driven Engineering (MDE) initiatives for expressing invariant conditions in models, among other uses. It is defined as a side-effect free language combining model-oriented and functional features. There are works that explore the use of the functional paradigm for the interpretation of OCL such that most of the functional infrastructure could be predefined and automatically generated. In this work we present the MDE-based automatic generation of such functional infrastructure based on Haskell. We also present how the infrastructure is connected with the Eclipse Modeling Framework for final users, allowing the internal complexity to be transparent to them. We provide a different perspective on the interpretation of OCL, together with a sandbox that allows to evaluate in a unified way several proposals that already exist in the scientific community, as well as to collaborate with the migration of functional aspects to the MDE paradigm.","PeriodicalId":379986,"journal":{"name":"2018 XLIV Latin American Computer Conference (CLEI)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 XLIV Latin American Computer Conference (CLEI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CLEI.2018.00023","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
The Object Constraint Language (OCL) plays a central role in many Model-Driven Engineering (MDE) initiatives for expressing invariant conditions in models, among other uses. It is defined as a side-effect free language combining model-oriented and functional features. There are works that explore the use of the functional paradigm for the interpretation of OCL such that most of the functional infrastructure could be predefined and automatically generated. In this work we present the MDE-based automatic generation of such functional infrastructure based on Haskell. We also present how the infrastructure is connected with the Eclipse Modeling Framework for final users, allowing the internal complexity to be transparent to them. We provide a different perspective on the interpretation of OCL, together with a sandbox that allows to evaluate in a unified way several proposals that already exist in the scientific community, as well as to collaborate with the migration of functional aspects to the MDE paradigm.