Macintosh IDE for Clojure and other Lisp-related languages.
A prebuilt version of MCLIDE can be downloaded from the link above.
== Build ==
MCLIDE 2.x runs on OSX 10.6 and later.
Preliminary instructions to get started:
Open a Terminal and change directory to here.
Download MCLIDE 2:
$ curl -C - -O https://mclide.googlecode.com/files/MCLIDE-20a0-b95dbee-.dmg
Open the .dmg and find the MCLIDE application.
Show the package by control-clicking on the application icon
Locate the following directories in the application and copy them here:
Contents/Resources/lib/
Contents/resources/slime-2012-02-02/
Rename 'slime-2012-02-02' to 'slime'
Download Clozure CL 1.7 and place its 'ccl' directory here:
$ curl -O ftp://ftp.clozure.com/pub/release/1.7/ccl-1.7-darwinx86.tar.gz
Execute in the Terminal to build MCLIDE:
$ sh ./build.sh
== Usage ==
See instructions in the README file in the MCLIDE build for instructions on how to connect MCLIDE with a development environment or runtime.
Note that it is essential to use a compatible version of Swank on the target Lisp runtime. Loading the start-swank.lisp file that comes with the MCLIDE2 distribution ensures the correct version of Swank on a local lisp runtime.
For use with a Lisp runtime on a remote machine, there is a compatible swank server in the MCLIDE.app/Contents/Resources/Slime/ directory. Copy this directory to the remote machine, then load its start-swank.lisp file into the remote lisp. Connect from MCLIDE2 by opening a New Listener from the File menu, providing the ip address of the lisp host computer and the port shown when starting swank (and eventually the slime-secret if you have specified one).
== Using with Clojure ==
You can use Leiningen to start clojure with swank then connect from MCLIDE.
If you use Leiningen 2 then add the following to the project.clj file:
:plugins [[lein-swank "1.4.5"]]
Execute this on the command line to start swank, then after a brief moment connect to port 4005 from MCLIDE:
lein swank