Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCXML to Stateless compiler #387

Open
oleglukin opened this issue Aug 24, 2020 · 5 comments
Open

SCXML to Stateless compiler #387

oleglukin opened this issue Aug 24, 2020 · 5 comments

Comments

@oleglukin
Copy link

It would be good to have SCXML to Stateless state machine compiler.
Maybe as a separate project.
There are libraries that convert SCXML state machine definitions into different languages (JS, C++).

--
References:
http://commons.apache.org/proper/commons-scxml/index.html
https://en.wikipedia.org/wiki/SCXML
https://xstate.js.org/docs/
https://github.com/jp-embedded/scxmlcc

@HenningNT
Copy link
Contributor

That looks very interesting!
However, I'm afraid that there is very little capacity available in the Stateless team to take on such a project.

@oleglukin
Copy link
Author

Ok, thanks. No worries.
I don't think there is a demand for this. But I might take on this addition if I have time.

@HenningNT
Copy link
Contributor

Any contributions are much appreciated! :-)

@thomasjamatomics
Copy link

We are willing to spend time and money on this. We have an application where we need to draw the state machines in SCXML (or similar) and the we need to generate the code in C#. We could redo the scxmlcc project, mentioned above, to generate C# code. Or we could add a feature to stateless, such that it can import the state machine from SCXML. We need to figure out which is the best solution for us. We need one other important feature. If the system reboots, we must always save the latest state and reload back to that state after reboot.

@thomasjamatomics
Copy link

Ah great! Thanks: Oleg Lukin
convert SCXML into a stateless machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants