A Simple Lexical Analyzer