Type-safe finite state machines in zig!

I used to develop type-safe finite state machines in haskell.https://github.com/sdzx-1/typed-fsm

The same effect can be achieved by relying on some programming conventions in zig.

I made some examples using typed-fsm-zig: GitHub - sdzx-1/typed-fsm-zig: typed-fsm-zig

typed-fsm + gui is a very good choice!!!

3 Likes

The advantages described here also exist in zig!