Towards an end-to-end metamodeling approach using rust - CEA - Commissariat à l’énergie atomique et aux énergies alternatives
Conference Papers Year : 2023

Towards an end-to-end metamodeling approach using rust

Abstract

Domain-Specific Languages (DSLs) are specialized languages targeted to an application domain. EMF (Eclipse Modeling Framework) is the most popular DSL development framework, with Ecore as its metametamodel and Java as the target language. We can find the translation of Ecore and the implementation of subsets of EMF functionalities targeting different languages. One language that has raised interest is Rust, thanks to the possibility of producing reliable and secure programs that are energy-frugal and executable in web rower via WebAssembly. In this paper, we present our end-to-end approach for metamodeling using Rust. Our solution integrates a code generator from Ecore to Rust and a code interpreter of Ecore metamodels, which enables performing model manipulation operations (CRUD and serialization) within a Rust environment. We provide an implementation using Behavior Trees to validate our approach and discuss the main advantages and difficulties.
Fichier principal
Vignette du fichier
Towards_an_end_to_end_metamodeling_approach_in_Rust.pdf (1.38 Mo) Télécharger le fichier
Origin Publisher files allowed on an open archive

Dates and versions

cea-04292837 , version 1 (17-11-2023)

Identifiers

Cite

Léo Olivier, Marcos Didonet del Fabro, Chokri Mraidha, Sebastien Gerard. Towards an end-to-end metamodeling approach using rust. MLE 2023 - 5th International Workshop on Modeling Language Engineering, Co-located with MODELS 2023, Oct 2023, Vasteras, Sweden. pp.381, ⟨10.1109/MODELS-C59198.2023.00069⟩. ⟨cea-04292837⟩
136 View
49 Download

Altmetric

Share

More