I’ve decided (finally) to learn lisp. I don’t know if it will make me a better programmer but if even half of what Paul Graham says about it is true, it has to be the best programming language ever written. =)
Mac OS X doesn’t ship with a lisp interpreter but there are several free implementations out there. After ruling out the ones that cost money and the ones that have icky IDEs that run in X11 and the ones that depend on things like Fink, you’re really only left with two options.
- Clozure CL (formerly known as OpenMCL)
- SBCL (Steele Bank Common Lisp)
I went with SBCL because it works on both PowerPC and intel. Installing it is pretty easy. You do need to have the Developer Tools installed on your computer as the install process makes use of gcc.
- Download the “binary” for the platform of your choice
- Uncompress/untar the bz2 file
- Fire up Terminal.app
- cd to the directory that you extracted from the tar file
- Run the following commands:
INSTALL_ROOT=/usr/local sudo sh install.sh
That’s all there is to it. At this point you can run the lisp interpreter (sbcl) or bring up the man page for it.
UPDATE (27 August 2008): Clozure CL now supports both PPC and x86-64. CCL has always had better integration support for Mac OS X so it may now be a better choice for Mac users than SBCL. I haven't used it much but I plan to put it through it's paces.