SigPML is a DSL dedicated to data flow processing. It is based on blocks, ports and connectors which associated ports to create directed flows.
This language can be installed by importing the projects of this git repository in a GEMOC Studio. The language projects must be imported in the first workspace (language wokbench), then launch a new Eclipse instance from the first (ie. as a modeling workbench where the language is deployed) and then import the sample models. (see GEMOC documentation for more details about the language deployment process)
Alternatively, this language is part of the basic example of GEMOC and is directly available in the GEMOC Studio. Simply, go to File > New > Example... and use the wizards to install the TFSM projects in the language workbench and modeling workbench.
Organization of the code
Main eclipse plugins:
- org.gemoc.sample.sigpml contains the definition of the language using the Melange language.
- org.gemoc.sample.sigpml.model contains the metamodel of TFSM, using the Ecore language.
- org.gemoc.sample.sigpml.k3dsa contains the Domain Specific Action of the operational semantics of TFSM (ie. the atomic actions of the interpreter), using the Kermeta3 language.
- org.gemoc.sample.sigpml.moc.dse contains the Domain Specific Event of the operational semantics of TFSM (ie. the observable events of the interpreter), using the Kermeta3 language.
- org.gemoc.sample.sigpml.xtfsm contains the language runtime generated by Melange, ie. a new Ecore model that contains both static elements (from org.gemoc.sample.tfsm.concurrent.model) and dynamic features (from org.gemoc.sample.tfsm.concurrent.k3dsa), along with a copy of the semantics that is compatible with this new Ecore model. In this example, once this project has been generated, it is systematically used in place of org.gemoc.sample.tfsm.concurrent.model or org.gemoc.sample.tfsm.concurrent.k3dsa.
- org.gemoc.sample.sigpml.xtfsm.design contains the graphical concrete syntax of TFSM, using Sirius. It defines several layers, the default layer is an editor, the other layers are used by the debug/animation.
- org.gemoc.sample.sigpml.xtfsm.edit contains EMF edition support. It is used to customize the various views in Sirius and in the simulator (for example by providing custom icons in the various views)
- fr.cnrs.luchogie.ultimateplotter contains some libs providing a 2D representation of the running model. (Ie. custom to this domain)
The projects in modeling workbench contains some sample models.
you can run them from the modeling workbench by creating a launch configuration and usig the GEMOC Concurrent Engine. (see model details about launching the concurrent engine in GEMOC Documentation).
Additionnal resources and related links
Please note that some of the document listed here may describe an early implementation of the language and may slightly differ from the current version.