[ANN] Modified Gorilla REPL (0.4.0)

205 views
Skip to first unread message

Ben Bailey

unread,
Oct 27, 2016, 2:12:07 PM10/27/16
to Clojure
Hey all,

The first version of a modified Gorilla REPL has been released here:

This version makes several modifications to the original Gorilla REPL that allow it to be used as a complete programming environment:
  • Open any `.clj`, `.cljs`, `.cljc`, or `.hl` file. If the file does not already have Gorilla REPL worksheet markup, it will appear as a worksheet with the entire contents of the file in a single input cell.
  • Save a worksheet without Gorilla REPL worksheet markup. This will save only the text in the worksheet's input areas. Note that this, in conjunction with the first feature listed above, allows you to use Gorilla REPL to open, edit, and save any Clojure file, without introducing unwanted markup.
  • Use a leiningen template to easily create a new Clojure project using the `app` template (allowing it to be run from a command line with `lein run`) and also including a dependency to the proper version of the Gorilla REPL plugin.
Getting started with this version of Gorilla should be simple:

lein new gorilla-app foo

Lee

unread,
Oct 27, 2016, 5:15:29 PM10/27/16
to Clojure
Awesome. 

FYI shift-tab to auto-reindent a selection (present in the original Gorilla REPL as well, but an essential feature IMHO that's otherwise undocumented). 

Some more verbose instructions for using this for newbies are at: http://faculty.hampshire.edu/lspector/Secrets-of-Gorilla-REPL.pdf
Reply all
Reply to author
Forward
0 new messages