Beyond Clojure

As mentioned earlier the nREPL protocol is language-agnostic and can be leveraged for many languages that have the ability to evaluate code at runtime.

Alternative Server Implementations

Most of those server implementations are developed and maintained by third-parties (as opposed to nREPL’s team), and their maturity might vary. The ones from nREPL’s team are marked as such.

Certain nREPL clients may make Clojure-specific assumptions which will cause bugs when used with other servers, while other clients are designed with language-agnosticism in mind. Usually the nREPL servers would mention in their documentation which clients are known to work well with them.
nREPL’s compatibility suite, proof, checks servers against the clients people use, and its compatibility matrix shows how a number of servers do.
  • JeeJah - an nREPL server for Fennel and Lua

  • Ogion - an nREPL server for Racket

  • cl-nrepl - an nREPL server for Common Lisp

  • nrepl-python - an nREPL server for Python

  • Babashka nREPL - an nREPL server bundled with babashka

  • nrepl-cljs - a native ClojureScript nREPL server implementation

  • nrepl-cljs-sci - a native Node.js nREPL server implementation using SCI.

  • nbb - Clojure scripting on Node.js using SCI, with an nREPL server built in

  • sci.nrepl - the nREPL server of scittle, which runs SCI in the browser, connected to clients through a websocket relay that runs on babashka or the JVM

  • nrepl-sci - an nREPL server for SCI that runs in a web page, developed by nREPL’s team

  • Basilisp - a Clojure-compatible(-ish) Lisp dialect hosted on Python, with an nREPL server built in

  • clr.tools.nrepl - an nREPL server for ClojureCLR

  • jank - a native Clojure dialect with C++ interop, with an nREPL server built in

  • let-go - almost Clojure, written in Go, with an nREPL server built in

  • guile-ares-rs - an Asynchronous Reliable Extensible Sleek RPC Server for Guile based on the nREPL protocol.

  • nrepl-scilab - an nREPL server for Scilab

  • nrepl-janet - an nREPL client/server library for Janet

  • nrepl-steel - a minimal nREPL server for Steel Scheme

  • nrepl-beam - nREPL servers for Erlang (dialtone) and Elixir (repartee), developed by nREPL’s team

As you can see nREPL has implementations for many popular Lisp dialects, but it’s certainly not limited to Lisp dialects.