nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
flowthing 2020-05-14T11:19:05.090800Z

Does nREPL have a feature that would let me do something like this?

send-> {:op "eval" :code "(+ 1 2)" :my-thing/silent? true}
<-recv {:value "3" :my-thing/silent? true}
My use case is that I want to eval an entire namespace, but I don't want to flood the REPL output with the names of every var that gets defined. Instead, I'd like to just show something like "Loading my.awesome.ns…". I know I can do it by keeping track of the IDs of the ops I'm sending, but I'm just wondering whether there's something simpler I could do.

shen 2020-05-15T08:02:43.092700Z

hmm.. what client you are using?

shen 2020-05-15T08:03:42.093100Z

as bozhidar said, nothing built in, and this is probably way easier to do on the client side than server

flowthing 2020-05-15T08:05:25.094400Z

I'm building my own: https://github.com/eerohele/tutkain

flowthing 2020-05-15T08:05:44.094700Z

Yeah, I'm currently working on the client side exclusively.

shen 2020-05-15T08:09:36.094900Z

oh cool. a new client!

shen 2020-05-15T08:09:50.095100Z

what's the landscape on the submlime text side of things?

flowthing 2020-05-15T08:13:41.095300Z

Well, it's got potential. With https://github.com/snoe/clojure-lsp and https://github.com/sublimelsp/LSP (and my plugin, after some more work), I think I could get most of what I'm looking for in a Clojure editing tool. I'm currently using that setup as a daily driver, and it is looking somewhat promising.

flowthing 2020-05-15T08:14:59.095900Z

I might also need to reimplement https://github.com/odyssomay/paredit and https://github.com/odyssomay/sublime-lispindent to be more Clojure-friendly, but we'll see.

flowthing 2020-05-15T08:15:47.096500Z

In sum, it's pretty incomplete at the moment. But I'm hoping I can build it into something feasible.

shen 2020-05-15T08:20:31.096700Z

sounds like a fun project 🙂

flowthing 2020-05-15T08:21:03.096900Z

That it is, and if nothing else, it has been an education. 🙂

bozhidar 2020-05-17T06:49:47.105600Z

There’s a private channel for Clojure dev tooling authors. I’ll invite you there, so we can support you better.

flowthing 2020-05-14T11:35:49.090900Z

The documentation suggests that :id is the only datum that's the same in the request and the response, so I think I'll just use that.