项目作者: DaveWM

项目描述 :
nREPL middleware to sync with REBL
高级语言: Clojure
项目地址: git://github.com/DaveWM/nrepl-rebl.git
创建时间: 2018-12-11T00:35:03Z
项目社区:https://github.com/DaveWM/nrepl-rebl

开源协议:Other

下载


nrepl-rebl (alpha)

Clojars Project

nREPL middleware to send eval’d forms to REBL.

Usage

With Leiningen

  • Download REBL (note the license agreement)
  • Add the lein-localrepo plugin to your profiles.clj
  • Run lein localrepo install [path to rebl download]/REBL-0.9.108.jar com.cognitect/rebl 0.9.108
  • Merge this into your profiles.clj:
    ```clojure
    {:user
    :dependencies [[nrepl-rebl “0.1.1”]
    1. [com.cognitect/rebl "0.9.108"]]
    :repl-options {:nrepl-middleware [nrepl-rebl.core/wrap-rebl]}}
  1. * Open your repl as usual - a REBL window should open, and receive any forms you eval in the repl
  2. ### With deps.edn
  3. * [Download REBL](http://rebl.cognitect.com/download.html) (note the license agreement)
  4. * Merge the following into your `deps.edn` file:
  5. ```clojure
  6. {:aliases {:nrepl {:extra-deps {nrepl/nrepl {:mvn/version "0.5.0"}}}
  7. :rebl {:extra-deps {org.clojure/clojure {:mvn/version "1.10.0-RC4"}
  8. nrepl-rebl {:mvn/version "0.1.1"}
  9. com.cognitect/rebl {:local/root "[path to REBL]/REBL-0.9.108.jar"}}}}}
  • Run clj -A:nrepl:rebl -m nrepl.cmdline --middleware '[nrepl-rebl.core/wrap-rebl]' to start an nREPL server
  • Connect to the nREPL server from a client of your choice (Cursive, CIDER, etc.)

License

Distributed under the GPL V3 License