do the main module of lexical analysis