repl() call do_eval(), eliminate the same code