A Clojure network REPL that provides a server and client, along with some common APIs of use to IDEs and other tools that may need to evaluate Clojure code in remote environments.
--interactive
option work when starting a server on a filesystem socket with --socket PATH
.completions
op by switching internally to compliment-lite
. The change is mostly transparent, but should result in more accurate completion results.nREPL 1.0 is a small, yet symbolic release. It's the culmination of over 4 years of hard work and it signifies we're at a point where all the problems that I'd promised we'd fix in 2018 have been addressed and it's time for us to take nREPL to the next level! As always - I'm confident that the best is yet to come!
Thanks to everyone for their help and support! You rock!
P.S. nREPL 1.0 is dedicated once again to the brave people of Ukraine, who celebrate their Independence Day today. Слава Україні!
-s/--socket PATH
on the
command line or (start-server ... :socket PATH)
whenever the JDK
is version 16 or newer or
junixsocket is
available as a dependency.base64-decode
.nrepl.util.print
).completions
op.lookup
op.greeting-fn
.interrupt
on the thread, waits 100ms for the thread to respond and return messages, then waits 5000ms for the thread to terminate itself. A hard .stop
is only called if it fails to do so.:read-cond
option when evaluating code.nrepl.cmdline
.nrepl.middleware.pr-values
with nrepl.middleware.print
.
nrepl.middleware.print
for configuring the print
middleware at the REPL.:requires
set contains
#'pr-values
should instead use #'wrap-print
.nrepl.middleware.caught
, provides a hook called when eval, read, or print
throws an exception or error. Defaults to clojure.main/repl-caught
.
Configurable by the dynamic var nrepl.middleware.caught/*caught-fn*
.send-ack
at cmdline
ns works with the correct transport.