Previous Next


The compilation scenarios plug-in

The goal of this plug-in is to allow the creation of compilation scenarios for Polychrony model. A compilation scenario is a sequence composed of different kinds of functionalities and of generators. A functionality modifies the internal representation of the program whereas a generator translates this representation into a specific external format. The meta-model of this plug-in is shown on the next picture.


Functionalities

For the moment, there are 9 different functionalities, which are those used in the current Polychrony graphical tool:


Generators

There are 12 kinds of generators:


Reflexive editor

The reflexive editor has been automatically generated from the compilation scenario meta-model. To create a new compilation scenario file (.ssc), right-click on your project and select New->Other... and then select the following model: Polychrony->SME Compilation Model.

However, there are some constraints to create a compilation scenario, because some functionalities/generators can only be applied after others, so an interactive view (described in next part) has been created to help user to create such scenario.


SME Scenario View

The SME Scenario View (see following picture) constitutes a way to describe a compilation scenario with some assistance. Each functionality and generator is represented by a button and, according to the functionality or generator you activate, others become available or are disabled. Since version 0.5.0, a check box to enable/disable the display of all warnings has been added.

To access to this view, select Window-> Show View-> Other..., and then select Polychrony->SME Scenario.



Previous Next