Statey is a project mainly written in JAVASCRIPT and VIM SCRIPT, it's free.
statey - the state machine that couldn't
No really, this isn't much of a state machine. It's a bare-bone kind of thing, and hardly even that, capable of next to nothing of value.
That should discourage you enough not to bother with it, while I use it for some of my less important projects.