Thanks both @Robin and @Gordon for the positive response and helpfull advice. Robins tutorial and the features page and set alternative idea were just what was needed. Im working a fork of XState/fsm in github (xstate-fsm-Espruino) which is very much WIP.
Hoping bloat will not be an issues as Xstate is designed with that risk in mind.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks both @Robin and @Gordon for the positive response and helpfull advice. Robins tutorial and the features page and set alternative idea were just what was needed. Im working a fork of XState/fsm in github (xstate-fsm-Espruino) which is very much WIP.
Hoping bloat will not be an issues as Xstate is designed with that risk in mind.
I got a positive reponse from davidkpiano (author of Xstate) also on thier Discord community. https://discordapp.com/channels/795785288994652170/810916847573532742/878607258785808385