Hey all, been working on a DSL for building finite...
# library-development
r
Hey all, been working on a DSL for building finite state machines please check it out if this interests you and ping me if you have any suggestions for improvement https://github.com/rossdanderson/finite
j
I've also been looking at FSMs a lot lately but where I have been really getting stuck is around not just transitioning from one state to another but in doing something in that transition (and making those side effects atomic and testable). In your example, the state transitions make complete sense, but other than describing the actions of a phone, nothing is really happening. If this was actually describing a VOIP app, where would the network calls and UI changes actually live? Would they need to be added when the DSL is used or are they added to the states/triggers themselves?