Install SBCL, emacs, slime
$ sudo apt-get install sbcl emacs slime
Install quicklisp
https://www.quicklisp.org/beta/#installation
$ curl -O https://beta.quicklisp.org/quicklisp.lisp
$ sbcl --load quicklisp.lisp
* (quicklisp-quickstart:install)
* (ql:add-to-init-file)
Test
- $ emacs test.lisp
- M-x slime
- edit some defun, and ctrl-c, ctrl-c to compile
- In slime window, call the defun.
I remember trying to install and run slime many years ago; it was very confusing and didn't work properly, then I gave up. I ended up using eclipse + lisp addon instead. Now it is very easy to set up -- very nice.
No comments:
Post a Comment