Implement Engine#repl.