Clojure-Intro-Course / babel

MIT License
2 stars 0 forks source link

babel-middleware

Clojars Project

A proof-of-concept tool for transforming Clojure's error messages into beginner-friendly forms. Very early in development, and will experience breaking changes. A paper describing its usage and development is available here.

Usage

Requires Leiningen, and Clojure 1.9.0 or greater. Adjust your project.clj to include:

:dependencies [[clojure "1.10.0"]
               [babel-middleware "0.2.0-alpha"]]
:repl-options {:nrepl-middleware
              [babel.middleware/interceptor]}

Launch a repl with lein repl, or whichever tool you prefer. Use that repl to load your other code, or to run code. (Has not been tested outside of Atom/proto-repl, and lein repl)

License

Copyright © 2018

Distributed under the MIT license