jp-embedded / scxmlcc

The SCXML state machine to C++ compiler
GNU General Public License v3.0
140 stars 34 forks source link

Dispatch eventless #77

Closed sstiller closed 5 years ago

sstiller commented 5 years ago

Add handling for eventless transitions if there is no matching transition for an event

But if we look at the mainEventLoop in https://www.w3.org/TR/scxml/#AlgorithmforSCXMLInterpretation we can see, that the eventless transitions are executed even if there is no transition for the current event.

sstiller commented 5 years ago

It needs to be integrated into Visual Studio - I don't have VS. Could someone please do it ;-)

jp-embedded commented 5 years ago

nice!

As you mention, this is probably a minor, because you have to modify the model outside the SM to see the issue. But nice fix, because of course the SM should work according to the standard.

Yes, the VS is quite a pain. But now we have cmake, the VC files could maybe be generated using cmake.

I will merge in, and fix VC