Hi, all. Hoping to understand how all these pieces fit together:
* Does "nREPL" (github.com/clojure/tools.nrepl) refer to not only "an nREPL server" but also "the nREPL protocol"?
* I see that nREPL provides an nREPL server. Does it also provide a client?
* Is REPL-y (github.com/trptcolin/reply) an nREPL client? If so, is it typically used in preference to the one that comes with nREPL?
* Is Leiningen the primary user of REPL-y?
* I see that, when I run `lein repl` in a project, lein starts up an nREPL server process. Does it also start an nREPL client? A REPL-y client? What is talking to whom when I type in code at the lein repl?
* Does cider implement its own nREPL client in elisp? The cider README say it is "built on top of nREPL" ... what exactly is meant by that?
* If I want to use Emacs + cider, what is the difference between using "M-x cider-jack-in" vs. "M-x cider-connect"? Does one require more JVM processes than the other?
--
Thanks so much!
You received this message because you are subscribed to the Google Groups "clojure-tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Apr 1, 2015 at 4:01 AM, John Gabriele <jmg...@gmail.com> wrote:
* I see that nREPL provides an nREPL server. Does it also provide a client?
Not one that's intended to be used widely, really just an example: https://github.com/clojure/tools.nrepl/blob/adf39f3f5217e09123b1536ea70ae013a9cac650/src/main/clojure/clojure/tools/nrepl/cmdline.clj#L9-L11
--
You received this message because you are subscribed to the Google Groups "clojure-tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
* I see that, when I run `lein repl` in a project, lein starts up an nREPL server process. Does it also start an nREPL client? A REPL-y client? What is talking to whom when I type in code at the lein repl?Yes, `lein repl` will start a REPL-y client (which is an nREPL client). `lein repl :headless` will start only the nREPL server (no client at all), and `lein repl :connect` will start up only the client: https://github.com/technomancy/leiningen/blob/34d62f8f57ea20e74c7dcb35b20d368292cf716b/src/leiningen/repl.clj#L279-L292But yeah, the normal `lein repl` starts an nREPL server (in the project JVM) and an nREPL client [REPLy] (in the leiningen JVM).