Yet Another FSM - Perl base code generator (c++) for Finite State Machines