babashka

Filipe Silva 2026-05-25T20:09:38.555639Z

Heya, I was trying the new rebel-readline support, but I think the https://github.com/bhauman/rebel-readline/tree/master/rebel-readline-nrepl sublib isn't working right now. Using these deps:

{:deps  {com.bhauman/rebel-readline       {:git/url ""
                                           :git/sha "e8f7f39d00c9a71c1e4ee807acbce1bb48c4dd40"
                                           :deps/root "rebel-readline"}
         com.bhauman/rebel-readline-nrepl {:git/url ""
                                           :git/sha "e8f7f39d00c9a71c1e4ee807acbce1bb48c4dd40"
                                           :deps/root "rebel-readline-nrepl"
                                           :exclusions [com.bhauman/rebel-readline]}}}
Trying to require rebel-readline.nrepl/connect will fail:
filipesilva@m4 ~/r/p/invoker (master) [1]> bb
Babashka v1.12.218
Type :repl/help for help
user=> (requiring-resolve 'rebel-readline.nrepl/connect)
java.lang.Exception: Unable to resolve classname: java.security.cert.Certificate [at nrepl/tls.clj:14:3]
I think that's because it requires nrepl.core in https://github.com/bhauman/rebel-readline/blob/master/rebel-readline-nrepl/src/rebel_readline/nrepl/service/nrepl.clj#L10

seancorfield 2026-05-25T20:22:23.673039Z

I suspect there's a bunch of stuff in the nREPL dependency (`nrepl/nrepl`) that isn't compatible with bb...

seancorfield 2026-05-25T20:23:36.427029Z

You should be able to start a bb nREPL server directly tho' (using bb's built-in nREPL stuff) and then use the JVM to run the Rebel Readline nREPL client to connect to that bb process.

borkdude 2026-05-25T20:32:54.155269Z

@filipematossilva this is expected. only rebel-readline core is bb compatible at the moment (after a bunch of PR of mine). nrepl itself isn't (yet) but something I want to look into, it's on my radar

👍 1
Filipe Silva 2026-05-25T20:45:50.699679Z

https://clojurians.slack.com/archives/CLX41ASCS/p1779740616427029?thread_ts=1779739778.555639&cid=CLX41ASCS yeap this is exactly what I'm doing atm in nvk, wanted to see if I could replace it for faster startup

👍🏻 1