Kevoree Script aka KevScript

KevScript is a scripting language to manipulate models. It is not a general purpose language.

A KevScript engine will take a script and a model as inputs, and return a new model modified according to the script.

A KevScript engine in short is:
(kevscript, inModel) => outModel

Overview

Here is an example of a basic KevScript:

Using this KevScript as an input to the engine, and an empty model as context model, the output will look like this in the Kevoree Web Editor:

KevScript overview