how to run a REPL