@mudasobwa thanks for sharing this library, I’ve used gen_statem a few times in the past and I think your library makes these kinds of use-cases a lot more ergonomic. Have you ever thought making a compile-time dependency, rather than a runtime dependency?
My thought here is that I could use something like finitomata to help me develop a FSM module, but I could generate an elixir/erlang file with all of the expansion done so that I don’t have to specify finitomata as a dependency of my library. This also means that other libraries could use different versions of the tool without need to resolve to a shared version.
Just curious if you’ve considered a use-case like that, or maybe I should give it a try myself to see how it goes?






















