I'd like to get a colored REPL for clojure code, similar to what you can do with IRB for Ruby.
Are there any libraries or settings for user.clj that provide automatic coloring of the REPL?
Example IRB:
I'd like to get a colored REPL for clojure code, similar to what you can do with IRB for Ruby.
Are there any libraries or settings for user.clj that provide automatic coloring of the REPL?
Example IRB:
Some coloring have REPL in VimClojure.
M-x package-install
->starter-kit-lisp
(add-hook 'slime-repl-mode-hook 'clojure-mode-font-lock-setup)
M-x clojure-jack-in
Try out Light Table Playground by Chris Granger. It is the first part of more ambitous multi language IDE.
It has a color Clojure REPL that does real time evaluations and display for entire blocks of code.
http://www.chris-granger.com/lighttable/
You can see a higher level view of the project here:
http://www.kickstarter.com/projects/ibdknox/light-table
If you're an Intellij user, the excellent Cursive is a great choice, and provides pretty colours that you can customise:
If you just want to color the prompt and you are using Leiningen (which you should), you can use
:repl-options
and ANSI escape sequences:References:
sample.project.clj
You can try LightTable, it lets you select the functions and run instantly.