So been continuing with xstate-fsm-Espruino (as above ... XState/fsm for Espruino microcontrollers) but in test scenarios was very quickly missing the hierarchical functionality I had gotten use to with full XState on the Raspberry pi. So I've started to work on putting limited state chart functionality on top of xstate-fsm for Espruino. Early tests are can add hierarchical states with a few functions that manipulate state value (using a full XState ID format Inc custom IDs)' , get state parents etc. Hopefully still not breaking minimal memory constraints of the Espruino micros. Or deviating from XState principals. Will publish when a little more proven. Great fun in any event, and learning loads from XState as an example of functional programming in JS and Espruino, But what to call xstate-fsmPlus-Espruino ???
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.
So been continuing with xstate-fsm-Espruino (as above ... XState/fsm for Espruino microcontrollers) but in test scenarios was very quickly missing the hierarchical functionality I had gotten use to with full XState on the Raspberry pi. So I've started to work on putting limited state chart functionality on top of xstate-fsm for Espruino. Early tests are can add hierarchical states with a few functions that manipulate state value (using a full XState ID format Inc custom IDs)' , get state parents etc. Hopefully still not breaking minimal memory constraints of the Espruino micros. Or deviating from XState principals. Will publish when a little more proven. Great fun in any event, and learning loads from XState as an example of functional programming in JS and Espruino, But what to call xstate-fsmPlus-Espruino ???