Slime
SLIME (Superior Lisp Interaction Mode for Emacs) provides a development environment for Common Lisp in Emacs. This article assumes that SBCL will be used. It can be replaced with other implementations, e.g. CMUCL, ECL, CLISP.
Installation
Install emacs-slime and your preferred Common Lisp implementation. Alternatively, SLIME can be installed via quicklisp.
Configuration
To make use of SLIME, add the following lines to your init file:
(setq inferior-lisp-program "/path/to/lisp-executable") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (require 'slime) (slime-setup)
Then run M-x slime
from within emacs.
Alternatively, for a fancier SLIME setup, you can change the above lines to:
(setq inferior-lisp-program "/path/to/lisp-executable") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (require 'slime) (slime-setup '(slime-fancy))
Resources
- The Common Lisp wiki
- Practical Common Lisp
- Structure and Interpretation of Computer Programs
- Paul Graham's Lisp resources.
gollark: The majority of complaints I receive are about other things.
gollark: Very little, I just like interjecting.
gollark: That's not really how evidence works.
gollark: Screenshots saying someone will do something are not actually proof.
gollark: I have been here for MULTIPLE days. I just don't read it because it's too active.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.