       arg-map)))
 
 (defn launch-nrepl [options]
+  "Launches the nREPL version of REPL-y, with options already
+  parsed out"
   (reader.jline/with-jline-in
     (evaluation.nrepl/main
       (assoc options

                  (reader.jline/prepare-for-read))
        "--interactive" true))))

(defn launch-standalone [options]
  (concurrency/set-signal-handler! "INT" handle-ctrl-c)
  (clojure.main/repl :read reply-read
        :eval reply-eval

  (reader.jline/resume-reader))

(defn exit
  "Exits the REPL. This is fairly brutal, does (System/exit 0)."
  []
  (shutdown-agents)
  (reader.jline/shutdown-reader)
