The REPL as a scripting engine