token stream and lexer stub