This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-16
Channels
- # adventofcode (93)
- # beginners (104)
- # boot (1)
- # cider (4)
- # cljsjs (2)
- # clojure (174)
- # clojure-austin (1)
- # clojure-greece (5)
- # clojure-spec (13)
- # clojure-uk (32)
- # clojurescript (15)
- # core-logic (13)
- # cursive (13)
- # data-science (8)
- # datomic (11)
- # duct (1)
- # fulcro (22)
- # instaparse (23)
- # jobs (1)
- # lein-figwheel (5)
- # off-topic (13)
- # onyx (13)
- # parinfer (1)
- # pedestal (19)
- # re-frame (33)
- # specter (26)
- # unrepl (22)
@cgrand I modularized the two things that are closely related to unrepl: the loop (`unrepl-loop.el`) and the transport format (edn messages parsing in unrepl-ast.el
) but I'm pretty sure some of the AST details leaked to some other files. That said, I didn't plan for nrepl per se, but for an encapsulation/modularization of the underlying protocol
@cgrand, sorry, I actually misinterpreted your question. I thought you were asking about supporting nrepl from scratch. To answer your question, no, I haven't thought on porting nrepl-bridge
I remember I read the code a long time ago when you wrote it and I thought it was a viable option
If someone is looking for a short task to help unrepl, porting nrepl-Bridge to cljs (maybe using https://github.com/rksm/node-nrepl-client) would be cool!
@volrath to be clear: we are not talking about supporting nrepl as a whole but using it as a connection method, right?
@cgrand What does the bridge provide exactly? A way to interact with an unrepl using the nREPL communication protocol?
It’s very hard to figure out what this does from its readme 😄 https://github.com/Unrepl/nrepl-bridge
So unrepl requires a pair of streams connected to a repl. Usually they are provided by a socket to a socket server repl. The bridge (which is part of the client) allows to recreate this pair of streams over a nrepl connection.
> So unrepl requires a pair of streams connected to a repl. Usually they are provided by a socket to a socket server repl. The bridge (which is part of the client) allows to recreate this pair of streams over a nrepl connection.
@cgrand Yeah, I get this. I’m assuming those streams are the equivalent of nREPL sessions.
So, unrepl normally opens two client sockets to socket repl server, right? What are they for - evaluation and control/tooling perhaps?