The read-eval-print loop (REPL) can be considered an interactive shell. The REPL lets you interact with a running Clojure system.
Many other language environments provide interactive shells. The termn “REPL” is most commonly used for languages in the Lisp family.
$ java -cp clojure.jar clojure.main --repl
$ lein repl
You can interact with Clojure from within your favourite IDE!
firing up a fresh REPL
M-x slime
firing up a REPL on an existing project
in the shell:
$ lein swank
then, in Emacs
M-x slime-connect
contributions welcome!
- Wikipedia: REPL
- Clojure.org: The REPL and main entry points
- Paul Graham: The Roots of Lisp
- dev.clojure.org: Getting Started