Automata software Python python-statemachine automata python automata-from-regex pywonderland Cloujr automat Java stateless4j C++ state How to Code a State Machine in C or C++ State Machine Design in C++ Expressive Code for State Machines in C++ C++ code for state machine RUST regex-automata