Installing Common Lisp

Lisp alien

About

Setting up a Common Lisp environment is not easy—we've written a tutorial to make it easy.

By the time you finish, you will have:

Windows

  1. Install CLISP.
  2. Ask CLISP where the HOME directory is located: (user-homedir-pathname). In that directory, create an empty text file called .clisprc.lisp.
  3. Install Emacs.
  4. Download a CVS snapshot of SLIME. Extract SLIME as c:\emacs\slime-2010-11-29.
  5. Ask Emacs where the HOME directory is located: Type (insert (getenv "HOME")) and press Control+C Control+E.
  6. Create an empty text file in YOUR_HOME\.emacs.d\ called init.el. Modify it to look like this.
  7. Install Quicklisp.
  8. Modify YOUR_HOME/.clisprc.lisp to look like this.

Mac OS X

  1. Install Xcode.
  2. Install MacPorts.
  3. Install CLISP by entering sudo port install ffcall && sudo port install clisp +dynffi in a terminal.
  4. Install Aquamacs.
  5. Open Aquamacs, then nagivate to Tools -> Install Command Line Tools.
  6. Install Aquamacs SLIME, then modify ~/.emacs so that it looks like this.
  7. Install Quicklisp.
  8. Modify ~/.clisprc.lisp to look like this.

Linux

  1. Run sudo apt-get install clisp emacs slime, or the appropriate install command for your particular Linux flavor.
  2. Modify ~/.emacs so that it looks like this.
  3. Install Quicklisp.
  4. Modify ~/.clisprc.lisp to look like this.

Requirements