Lexer base