https://github.com/davewm/nrepl-rebl
nREPL middleware to sync with REBL
https://github.com/davewm/nrepl-rebl
clojure nrepl nrepl-middleware
Last synced: 20 days ago
JSON representation
nREPL middleware to sync with REBL
- Host: GitHub
- URL: https://github.com/davewm/nrepl-rebl
- Owner: DaveWM
- License: gpl-3.0
- Created: 2018-12-11T00:35:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T12:26:15.000Z (over 6 years ago)
- Last Synced: 2025-03-25T23:23:55.753Z (9 months ago)
- Topics: clojure, nrepl, nrepl-middleware
- Language: Clojure
- Homepage:
- Size: 25.4 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nrepl-rebl (alpha)
[](https://clojars.org/nrepl-rebl)
nREPL middleware to send eval'd forms to REBL.
## Usage
### With Leiningen
* [Download REBL](http://rebl.cognitect.com/download.html) (note the license agreement)
* Add the [lein-localrepo](https://github.com/kumarshantanu/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"]
[com.cognitect/rebl "0.9.108"]]
:repl-options {:nrepl-middleware [nrepl-rebl.core/wrap-rebl]}}
```
* Open your repl as usual - a REBL window should open, and receive any forms you eval in the repl
### With deps.edn
* [Download REBL](http://rebl.cognitect.com/download.html) (note the license agreement)
* Merge the following into your `deps.edn` file:
```clojure
{:aliases {:nrepl {:extra-deps {nrepl/nrepl {:mvn/version "0.5.0"}}}
:rebl {:extra-deps {org.clojure/clojure {:mvn/version "1.10.0-RC4"}
nrepl-rebl {:mvn/version "0.1.1"}
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