O'Reilly logo

Clojure for Domain-specific Languages by Kelker Ryan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running a Clojure REPL inside Emacs

What is a Clojure REPL? Read, Evaluate, Print, and Loop terminals help with development by giving developers a quick way to run and test code without having to write files or compile files already written. There are a few REPLs for Clojure, but the REPL that this section covers is REPL-y and nrepl.el. Clojure-mode allows for Emacs to run a Clojure REPL instance within Emacs by connecting to a REPL local server. Emacs will start the server for you or you can run your own REPL instance and tell Emacs to connect to it. Looking at the following output, REPL-y displays all of the helper commands that are available to you at startup session. This can be invoked inside of a clojure-mode buffer frame with the Emacs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required