Simple lex like parser generator.