A couple of weeks ago I created a small script to automatically generate C++ code for a State Machine using YAML as input. I also borrowed a web interface from Evan Wallace and added to it several functionalities, including the option to directly generate the C++ code directly from the web.
You can try the web application here: endavid.com/StateMachine/
The repository of the project: github.com/endavid/StateMachine
Tweet