Installation » History » Version 3

« Previous - Version 3/85 (diff) - Next » - Current version
Marcus Pearce, 2012-02-02 12:26 PM


Installation

Prerequisites

Common Lisp

  • Many people find Emacs with Slime useful for Common Lisp development.

Common Lisp Libraries

These can be obtained using asdf-install, e.g.:

(require 'asdf-install)
(asdf-install:install "clsql")

An SQL database

I would recommend SQLite

See the CLSQL Manual for further information on which database systems you can use and how to access them from Common Lisp.

Installation

Download the software

Let lisp know where to find the software

Each subdirectory in the code contains one or more system definition files with a .asd extension. The location of these files needs to be registered as follows:

 (require :asdf) ; Load asdf.
 (push "/full/path/to/system/file" asdf:*central-registry*) ; Tell asdf where each system is registered.

You may want to add these lines to your .sbclrc configuration file.

An easy way to achieve the above is to symlink each .asd file to a single directory and add that to asdf:*central-registry*.

Automated

Alternatively there is software available for managing library installation for common lisp:

These may also be used to install the dependencies listed above. WARNING: your mileage may vary.

Running the code

(asdf:oos 'asdf:load-op 'idyom)

should load the code. You may now proceed to the tutorial.