It has been some years since I read the QL book. I thought it was a
fantastically elegant and efficient design for maintainable and robust code.
But, it takes a little effort to get your head around in the first place. -
very unlike trends in scriptable live development these days. I, for one, would
love to see an implementation of this in Nim. It has been in the back of my
mind to implement that myself- if for nothing more than an exercise in
reinforcing the state machine concepts in my own mind. I don't have the time
now. Though not the same as the QL framework, I've used this Nim fsm a couple
times: [https://github.com/ba0f3/fsm.nim](https://github.com/ba0f3/fsm.nim)