-
-
Notifications
You must be signed in to change notification settings - Fork 12
User Guide
- Download SBCL from http://prdownloads.sourceforge.net/sbcl/sbcl-2.3.0-x86-64-windows-binary.msi and install it.
- Download quicklisp from https://beta.quicklisp.org/quicklisp.lisp and save it to some folder, in my example
D:\lisp
- Start command line and navigate to folder with
quicklisp.lisp
(ie in my exampleD:\lisp
(D:
andcd lisp
)) - Type
sbcl
- it should be on path if you installed it via msi binary - Type
(load "quicklisp.lisp")
and press enter
- It should end with
T
. Then type(quicklisp-quickstart:install)
end press enter. After download it should look like this:
-
Quicklisp is now installed in your home directory (
C:\Users\<name>\quicklisp
) -
In the IDE open
Settings > Languages & Frameworks > Common Lisp SDKs
, then click onAdd New SBCL SDK
- Then locate sbcl.exe for SBCL executable.
- Same with SBCL.core file. Then find your
setup.lisp
insidequicklisp
folder in your home and add it to the sdk. Should look like this when filled:
-
Clicking on
Verify SBCL SDK
will download all necessary libraries requires and will verify the SDK. Wait until verification is finished, it can take some time to download all dependencies. ClickSave
and thenApply
to add your SDK. -
Then go to
Project: <yourprojectname> > Common Lisp SDK
and click the refresh icon and select your installed SDK from the menu and hitApply
- Done!
Since I don't own Mac you are on your own. But brew
can probably be used or you can google how to get sbcl on mac. Rest should be the same for linux version.
Installing SBCL from repo works and usually all you need to enter into path is sbcl. Install quicklisp via
$ curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp
$ sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp --eval '(quicklisp-quickstart:install :path "~/.quicklisp") --quit
To unlock most potential out of plugin you have to start sbcl instance. This is done on Common Lisp toolbar, green icon "Start SBCL Instance".
You can stop the instance by following red button. If you get this error you need to setup SDK, see above.