Class toastoven with a hierarchical state machine used in the following examples of code generation In particular, my ideal interface for the hsm would look like this: Statesmith is a cross platform, free/open source tool for generating state machines in multiple programming languages
Watch leaked drake video
The generated code is human readable, has zero dependencies and is suitable for use with tiny bare metal microcontrollers, video games, apps, web, computers.
This example shows how to generate hdl code for a subsystem that includes stateflow charts.
The state machine is defined using a basic json string, and includes convenience timers. Code generation tool written in python for c++ hierarchical state machines The basic idea is to design your state machine graphically in plantuml and then use the plantuml input file also as an input file for flohsm.py to generate c++ code. And when i noticed how messy my old gui code was and then found this pattern, i thought of giving it a shot