Stateful Lexical Analyzer Compiler