A framework for building state machines similar to UML state charts. States are organized in parent/child relationships, allowing common event handling to be performed by more generic, containing states.
FSM2 provides an implementation of the core design aspects of the UML state diagrams allowing both declarative transitions and dynamic transitions along with Guard Conditions.