This example features an executable language using GEMOC Sequential Engine.
It illustrates the GEMOC animation framework on a Finite State Machine language.
The example focuses on the separation of the base language: FSM and the executable sequential language: XSFSM.
The tree editor and graphic editor are defined on top of the FSM language. They are considered as if they were pre-existing (Ie. legacy).
Then, Melange is used to built the XSFSM executable language by inheriting from FSM. The animation layer is also built as an extensions of the graphical editor.
This allows to use the model polymorphism. Ie. it is possible to edit FSM models and then run them as XSFSM with the appropriate animation extensions.
More information and the sources of these projects are available online on Github.
Install the projects of this language:
Create and start an eclipse runtime:
Install sample models for the language:
The following figure presents :
Please note that for simplification of the diagram, the associations that doesn’t represent a containment, have been represented as attribute rather than links.