Fork me on GitHub
#nrepl
<
2019-08-18
>
Daniel Slutsky12:08:48

Hi All. Out of the existing nREPL clients (https://nrepl.org/nrepl/0.6.0/usage/clients.html) (not just the Clojure ones), I am looking for a client that could be considered a good example to learn from -- preferably a rather simple one, that was written recently, and is know to be designed well. 🙂 My goal is to understand the existing R client (https://github.com/vspinu/R-nREPL), and see if I want to change anything and rewrite some parts. I am doing that in order to allow RStudio to behave as a Clojure IDE. So, I thought it would be nice to have an example client to learn from. Any ideas?

Daniel Slutsky12:08:17

(Maybe Monroe or REPL-y would be considerably simple examples to learn from? Any other ideas?)

pez13:08:59

I think the one in Calva is pretty well designed and reasonably simple. It's definitely recently written. 😎 (I'm not the designer of it, so my bias there isn't too strong. But it is easy to use, is my experience.)

Daniel Slutsky14:08:49

Thanks @pez, this helps so much!

Daniel Slutsky16:08:58

Also, the built-in nREPL client implementation is quite readable! https://github.com/nrepl/nrepl/blob/master/src/clojure/nrepl/core.clj (just a basic client)

bozhidar16:08:19

Yeah, I’d say it’s a classic. 🙂

🙂 8