Skip to content

atlanmod/zoo

Repository files navigation

Atlanmod Zoo

Atlanmod Zoo is a set of Eclipse Modeling Framework (EMF) Ecore models, which can be easily integrated to projects that require these models.

Objectives

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.

Available Models

Currently, two kinds of models are available: (i) models for generating standard EMF models and (ii) models for generating NeoEMF specific code.

Standard EMF resources

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.

  • KDM: Knowledge Discovery Metamodel (KDM), used by the Modisco tool.

  • SMM; Structured Metrics Meta-model.

  • Social Network: The TTC 2018 Social Media Case, presented in TTC18.

NeoEMF resources

Ecore models for using together with NeoEMF model persistence solution:

  • Java: Java language syntax model.

Maven Usage

Models from the atlanmod Zoo are available as independent Maven artifacts. For instance, the dependency for Modisco Java’s abstract syntax is:

<dependency>
    <artifactId>emf-java</artifactId>
    <groupId>org.atlanmod.zoo</groupId>
    <version>1.0.5</version>
</dependency>

All models expect EMF artifacts to be provided by the environment. If you intend to use these models outside Eclipse, we suggest taking a look at the EMF-Maven project.

Eclipse Update Site

Ecore models are also available as Eclipse Plugins. Use these update site to install the suitable plugin:

Repository organization

This repository only contains models expressed in Xcore. The EMF underlying code is generated with the Xtext Maven Plugin.

Contributing

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.

Contact

Gerson Sunyé: [email protected]