Add support for a REPL, thanks to linenoise.