Atlanmod Zoo is a set of Eclipse Modeling Framework (EMF) Ecore models, which can be easily integrated to projects that require these models.
The main goal of this project is to share EMF models among developers.
These models come from different Atlanmod projects, where they are used either for testing purposes or as main artifacts.
For instance, the model of Java's abstract syntax comes from the Modisco reverse engineering tool and can be used to build tools that use Modisco's models as an input for metrics analysis, code modernization, etc.
Currently, two kinds of models are available: (i) models for generating standard EMF models and (ii) models for generating NeoEMF specific code.
Some examples of standard EMF available models are:
- Simple graph: A simple syntax for representing oriented graphs (mostly used for testing purposes.
- Java: Java language syntax model, used by the Modisco tool)
- Cobol: COBOL language syntax model.
- SMM; Structured Metrics Meta-model.
Ecore models for using together with the NeoEMF model persistence solution:
- Java: Java language syntax model.
Models from the atlanmod Zoo are available as independent Maven plugins. For instance, the dependency for Modisco Java's abstract syntax is:
<dependency>
<artifactId>emf-java</artifactId>
<groupId>org.atlanmod.zoo</groupId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
This repository only contains models expressed in Xcore. The EMF underlying code is generated with the Xtext Maven Plugin.
This project is open for new models: if you want to share your own models, follow the structured used in our models to create a new artifact and perform a pull request.
Gerson Sunyé: sunye@atlanmod.org