开源状态机代码生成 StateSmith 支持C/C++

 

StateSmith

StateSmith is a cross platform, free/open source tool for generating state machines. The generated code is human readable, has zero dependencies and is suitable for use with tiny bare metal microcontrollers, kernels, or servers. It avoids dynamic memory allocations for the safety or performance inclined.

StateSmith will one day generate code for multiple different languages, but for now, the focus is on good old C (or C++) with zero dependencies.

picture 5

 

https://github.com/StateSmith/StateSmith

 

posted @ 2022-10-11 10:50  sinferwu  阅读(252)  评论(0编辑  收藏  举报