bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
680 stars 37 forks source link

rebel readline and cognitect rebl running together #206

Closed practicalli-johnny closed 7 months ago

practicalli-johnny commented 4 years ago

Is there a way to run rebel readline and REBL together, especially using the Clojure CLI tools?

I thought it would be a very powerful repl experience if you can create and evaluate code in a rebel readline powered REPL while data from each evaluation is displayed in the Cognitect REBL UI as the results return in the REPL. This would be very useful for functions that generated data not easily viewed in the terminal.

An idea: Connecting to REBL REPL from rebel readline Can rebel readline be use to connect to an already running REPL?

Using https://github.com/RickMoynihan/nrebl.middleware a REBL repl will run and it can be connected to via nrepl. For example, using Emacs CIDER cider-connect command it can connect to the nrepl middleware that nrebl provides.

Would it be feasible to run rebel readline to connect to this nrepl service?

Not sure if this is a feasible feature request or just an idea that's on a different planet.

Thank you.

practicalli-johnny commented 7 months ago

I am using Portal and wrap-portal middleware currently, so closing this issue.

https://practical.li/clojure/data-inspector/portal/