babashka

plexus 2026-03-31T12:12:55.648329Z

What's the status of using rebel-readline as a library? I know bb now uses it internally, but perhaps not everything necessary is available? I'm getting Unable to resolve classname: org.jline.reader.impl.DefaultParser

borkdude 2026-03-31T12:28:32.497079Z

bb doesn't use it internally :) but: I'm working on successive PRs to make it compatible. the first one is compliment, the completion lib

borkdude 2026-03-31T12:29:24.315099Z

do you want to use it as an nrepl client?

plexus 2026-03-31T12:32:18.206909Z

I want to build a command line REPL for a custom DSL

borkdude 2026-03-31T12:33:49.345669Z

you can probably already do so by using jline directly, but I understand that using rebel-readline makes it easier

👍 1
borkdude 2026-03-31T12:34:22.612589Z

if you look at babashka/src/babashka/impl/repl.clj then you can get some ideas on how to build a repl.

borkdude 2026-03-31T12:34:34.335329Z

you can use clojure.main/repl with its hooks

plexus 2026-03-31T12:35:02.601149Z

thanks! I can work with that.