Implemented default lexer.