This is a lexical analyser written in Java for MySQL