Lexer skeleton