Skip to content

The Concrete Syntax

Betty Sanchez edited this page Oct 21, 2020 · 3 revisions

We are working on extending this wiki page.

Please, have a look at the example projects for an idea of the types of models and tasks that are supported.

Models

A model that does not need configuration can be declared as:

model Name is epsilon:emf;

A model that needs to be configured can be declared as:

model Name is epsilon:emf{
  src: "model.emf"
  metamodelUri: "uri/..."
}

Tasks

A task that does not need any additional configuration can be written as:

task Name is epsilon:etl;

A task that needs additional configuration can be written as:

task Name is epsilon:eol {
  src: "file.eol"
}

A task that references a model as input can be written as follows. The as keyword is used to apply an alias to that model.

model ModelA is epsilon:emf;
model ModelB is epsilon:emf;
task Name is epsilon:eol 
  in ModelA as IN 
     and ModelB
{
  src: "file.eol"
}
Clone this wiki locally