fsmlib: a small and simple library for Finite State Machines

6 Oct 2019 - 20:07

TLDR: get it here

I wrote this to scratch my own itch. Not because I suffer from NIH syndrome, but because I genuinely searched the web for finite small and simple state machine libraries and I couldn't find what I was looking for. They were all either:

So I rolled my own. This one is:


I think there might be some things that could be improved, removed or refactored. There are some "TODO" notes sprinkled over the code, but nothing very important. If you can improve it in any way, please do it.

Software - Code - C