Poster: CrossEcore: An Extendible Framework to Use Ecore and OCL Across Platforms

Today, model-driven approaches are a cornerstone in modern software development. The Eclipse Modeling Framework (EMF) is highly adopted in practice and generates Java code from platform-independent models with embedded Object Constraint Language (OCL) expressions. However, applications that target m...

Full description

Saved in:
Bibliographic Details
Published in2018 IEEE/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion) pp. 292 - 293
Main Authors Schwichtenberg, Simon, Jovanovikj, Ivan, Gerth, Christian, Engels, Gregor
Format Conference Proceeding
LanguageEnglish
Published ACM 01.05.2018
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Today, model-driven approaches are a cornerstone in modern software development. The Eclipse Modeling Framework (EMF) is highly adopted in practice and generates Java code from platform-independent models with embedded Object Constraint Language (OCL) expressions. However, applications that target multiple platforms like Android, iOS, Windows, web browsers usually need to be implemented in different programming languages. Feature-complete Ecore and OCL runtime APIs are not available for all these platforms, such that their functionality has to be re-implemented. In this paper, we present CrossEcore: A multi-platform enabled modeling framework that generates C#, Swift, TypeScript, and JavaScript code from Ecore models with embedded OCL. An OCL compiler translates OCL expressions into expressions of the target language. The Ecore and OCL API can be consistently used across platforms, which facilitates application portability. CrossEcore is also extendible and can be easily adopted for new programming languages.
ISSN:2574-1934
DOI:10.1145/3183440.3194976