Labrepl - Clojure Setup and Tutorial

17 views
Skip to first unread message

Stuart Ellis

unread,
Jul 17, 2010, 7:06:25 AM7/17/10
to Anglo-Celt SICP Study Group
Hi everyone,

I've just been getting started with Clojure, and thought that I'd pass this on for anyone else at the same point:

http://github.com/relevance/labrepl

There's clear instructions for setting up Clojure with various environments/IDEs, and it provides an introductory tutorial.

I followed the instructions for Eclipse. If you want to use labrepl with Netbeans you'll probably need to use Netbeans 6.8 (or do some fiddling) - I tried with version 6.9 and hit some known issues.

---
Stuart Ellis
stu...@stuartellis.eu


Rick Moynihan

unread,
Jul 19, 2010, 7:00:25 AM7/19/10
to anglo-celt-si...@googlegroups.com
On 17 July 2010 12:06, Stuart Ellis <stu...@stuartellis.eu> wrote:
> Hi everyone,
>
> I've just been getting started with Clojure, and thought that I'd pass this on for anyone else at the same point:
>
> http://github.com/relevance/labrepl
>
> There's clear instructions for setting up Clojure with various environments/IDEs, and it provides an introductory tutorial.

Yes, labrepl is pretty good...

The official Clojure "Getting Started Guide" can confusingly, be found
on assembla here:

http://www.assembla.com/wiki/show/clojure/Getting_Started

There are also other options; for example if you have a basic
familiarity with Emacs but use windows, then Clojure Box is probably
the best IDE option available for you... as it integrates SLIME,
Clojure Mode, and Swank Clojure into one. It uses Clojure 1.1, which
for the purposes of SICP is all you'll need (Clojure 1.2 is currently
in beta).

http://clojure.bighugh.com/

Developing with a Lisp-like workflow is arguably the biggest
productivity boost over other methods, e.g. edit, compile, run. And
even those using dynamic languages will find themselves significantly
more productive with an integrated editor and REPL.

Currently the best development experience (by far) is with Emacs +
SLIME + Clojure Mode + Swank Clojure + paredit; though the other IDE's
are catching up slowly.

I'd also highly recommend cljr, which uses leiningen (the excellent
clojure build tool) to create a combined package manager and repl;
which is ideal for experimenting and is arguably a better environment
than labrepl (as it's useful beyond the getting started stage).

cljr also has integrated SLIME support (via swank-clojure), and is
great at managing the classpath etc...

Anyway, I'll post a follow up thread to try and get started with those
in my group (Brilliant).

If anyone has trouble setting up Clojure, don't hesitate to contact me
(on list), and I can help.

R.

Reply all
Reply to author
Forward
0 new messages