Skip to content

A small middleware to be able to use Cognitect's REBL together with Cursive's default nREPL.

License

Notifications You must be signed in to change notification settings

furkan3ayraktar/rebl-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REBL Middleware

A small middleware to be able to use Cognitect's REBL together with Cursive's default nREPL.

Installation

Add following alias to your deps.edn file.

...

:aliases { ...

          :rebl {:extra-deps {com.cognitect/rebl              {:mvn/version "0.9.242"}
                              furkan3ayraktar/rebl-middleware {:git/url "https://github.com/furkan3ayraktar/rebl-middleware"
                                                               :sha "LATEST_COMMIT_SHA_FROM_REPO"}}}} 

...

If you do not have a .nrepl.edn file, create that file in the root of your project and add the following content.

{:middleware [com.furkanbayraktar.rebl.middleware/wrap-rebl]}

Next, you can create a new run configuration in Cursive (or update an existing one) by adding rebl alias to your existing aliases. An example run configuration might look like this:

Once you run this configuration and the REPL is ready, you can run the following to start REBL UI:

(require '[cognitect.rebl :as rebl])

(rebl/ui)

License

Distributed under the Eclipse Public License 1.0, the same as Clojure.

About

A small middleware to be able to use Cognitect's REBL together with Cursive's default nREPL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published