Rewriting Lexer using Reader