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.
Domains
Computer science
Fichier principal
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 |
---|