eclipse / gemoc-studio-execution-ale

Gemoc studio execution ale
0 stars 7 forks source link

Improve management of ALE when used as SiriusInterpreter #45

Closed dvojtise closed 4 years ago

dvojtise commented 4 years ago

Description

This PR makes ALE interperter available all the time as a SiriusInterpreter (ie. a SiriusInterpreter is an interpreter used by Sirius in the odesign fields) (It was previously available only when running a single engine)

Expression in Sirius can now use ale: queries for both displaying runtime data while running a model AND displaying static information while editing a model (ie. as a replacement of [ /] or aql: queries)

This PR also fixes the display of ale: queries in Sirius 6.3.0 when no model is running (cf. https://github.com/eclipse/gemoc-studio-execution-ale/issues/44)

This PR also provides a support for multiple model execution at the same time. (In the previous version, only one engine was available to provide runtime data to the SiriusIntepreter )

Changes

Contribution to issues

Closes https://github.com/eclipse/gemoc-studio-execution-ale/issues/44 Contributes to https://github.com/gemoc/ale-lang/issues/150

Companion Pull Requests

ebousse commented 4 years ago

very nice!

Makes me think that a rather fun thing would be a generic SiriusInterpreter able to retrieve runtime data defined with any sort of metaprogramming approach.

dvojtise commented 4 years ago

Makes me think that a rather fun thing would be a generic SiriusInterpreter able to retrieve runtime data defined with any sort of metaprogramming approach.

This would be cool indeed because currently every engine provides its own way to access its RTD. Having a way to register "RTD Accessor service" in the GEMOC framework would probably help to design Sirius animation layers.