Exploring the refinement of a DSL for versions based on EMF, Eclipse Sirius and Xtext

  • Jaqueline Moura UNIPAMPA
  • Natiele Lucca UNIPAMPA
  • Fábio Basso UNIPAMPA
  • João Pablo S. da Silva UNIPAMPA
  • Elder Rodrigues UNIPAMPA
  • Maicon Bernardino UNIPAMPA

Abstract


Model Driven Engineering (MDE) allows to specify abstract models at high levels and then transform them. Self-adaptive systems are able to assess and change their own behavior at runtime. Domain-specific languages (DSLs) can be described to abstract out such complexity. This article presents an exploratory study on the refinement of a DSL in this domain. Three versions are implemented: one textual (in Xtext) and two graphics (based on EMF tree and Eclipse Sirius). Afterwards, transformations of these models are carried out for target platform code. Finally, conclusions from the practice obtained with the apparatus used in the Eclipse ecosystem are exposed.

Keywords: MDE, DSL, EMF, Eclipse Sirius, Xtext, models transformation

References

Addazi, L., Ciccozzi, F., Langer, P., and Posse, E. (2017). Towards Seamless Hybrid Graphical–Textual Modelling for UML and Profiles. In Modelling Foundations and Applications, pages 20–33. Springer International Publishing.

Basso, F. P., Pillat, R. M., Oliveira, T. C., and Fabro, M. D. D. (2014). Generative adaptation of model transformation assets: Experiences, lessons and drawbacks. In Proceedings of the 29th Annual ACM Symposium on Applied Computing, SAC ’14, pages 1027–1034. Bettini, L. (2016). Implementing domain-specific languages with Xtext and Xtend. Packt Publishing Ltd.

da Silva, J. P. S. (2018). SaSML: A UML-Based Domain-Specific Modeling Language for Self-Adaptive Systems Conceptual Modeling.

Eclipse Sirius (2018). Disponíıvel em: <https://www.eclipse.org/sirius/doc/> acesso em junho de 2020.

Favero, E. S., de Oliveira, I. A., nez, P. S. Z. N., and Basso, F. P. Estudo Exploratório no Refinamento de uma DSL para Versões Baseadas em EMF, EMF Forms e Angular

Kelly, S. and Tolvanen, J.-P. (2008). Domain Specific Modeling: Enabling Full Code Generation. IEEE Computer Society - John Wiley & Sons.

Lima, Y. A., Modesto, S., Medeiros, J. M., Carbonell, J. B. P., and de Macedo Rodrigues, E. (2019). MPS x Xtext: Uma comparaçãao de languages workbenches para o desenvolvimento de DSLs. In Anais da III Escola Regional de Engenharia de Software, pages 97–104, Porto Alegre, RS, Brasil. SBC.

Macías-Escrivá, F. D., Haber, R., del Toro, R., and Hernandez, V. (2013). Self-adaptive systems: A survey of current approaches, research challenges and applications , 40(18):7267 – 7279.

Neto, A., Carbonell, J., Marchezan, L., Rodrigues, E. M., Bernardino, M., Basso, F. P., and Medeiros, B. (2020). Systematic mapping study on domain-specific language development tools. Empir. Softw. Eng., 25(5):4205–4249.

Neto, V. V. G., Basso, F. P., dos Santos, R. P., Bakar, N. H., Kassab, M., Werner, C., de Oliveira, T. C., and Nakagawa, E. Y. (2019). Model-driven engineering ecosystems. In Proceedings of the 7th International Workshop on Software Engineering for Systems-of-Systems and 13th Workshop on Distributed Software Development, Software Ecosystems and Systems-of-Systems, SESoS-WDES 2019, Montreal, QC, Canada, May 28, 2019, pages 58–61. IEEE / ACM.

Petricic, A., Crnkovic, I., and Zagar, M. (2008). Models transformation between uml and a domain specific language. In Eight Conference on Software Engineering Research and Practice in Sweden (SERPS 08).

Schmidt, D. C. (2006). Model-driven engineering. IEEE Computer, 39(2). Steinberg, D., Budinsky, F., Paternostro, M., and Merks, E. (2008). EMF: Eclipse Modeling Framework (2nd Edition). Addison-Wesley Professional.

Voelter, M. (2009). Best practices for DSLs and odel-driven development. Journal of Object Technology, 8(6):79–102.

XText (2018). Disponível em: <https://www.eclipse.org/xtext/documentation/> acesso em junho de 2018;
Published
2020-11-11
MOURA, Jaqueline; LUCCA, Natiele; BASSO, Fábio; DA SILVA, João Pablo S.; RODRIGUES, Elder; BERNARDINO, Maicon. Exploring the refinement of a DSL for versions based on EMF, Eclipse Sirius and Xtext. In: REGIONAL SCHOOL OF SOFTWARE ENGINEERING (ERES), 4. , 2020, Evento Online. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2020 . p. 21-30. DOI: https://doi.org/10.5753/eres.2020.13712.