Reorganize util modules
Get generated parsers to compile
Get rid of NodeType typedef
simplify code generator spec
Generate fewer states, simplify state machine visualization format