| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?xml version="1.0" encoding="UTF-8"?>
- <diagram author="Simon Van Mierlo" name="Translational Semantics Debugging Interface">
- <description>
- A debugging interface for a formalism with translational semantics.
- </description>
-
- <top>
- <![CDATA[
- ]]>
- </top>
- <inport name="input" />
- <outport name="output" />
- <inport name="mv_input" />
- <outport name="mv_output" />
- <class name="Interface" default="true">
- <relationships>
- </relationships>
- <constructor>
- <body>
- <![CDATA[
- ]]>
- </body>
- </constructor>
- <scxml initial="running">
- <state id="running">
- <transition event="input" port="mv_input" target=".">
- <parameter name="params" />
- <script>
- print 'sending output to the console'
- </script>
- <raise event="mv_output" port="output">
- <parameter expr="params" />
- </raise>
- </transition>
- <transition event="mv_input" port="input" target=".">
- <parameter name="params" />
- <script>
- print 'sending output to the modelverse'
- </script>
- <raise event="output" port="mv_output">
- <parameter expr="params" />
- </raise>
- </transition>
- </state>
- </scxml>
- </class>
- </diagram>
|