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

gollark: Does Macron have dynamic traiting?
gollark: At last, I have devised an elegant way to generate lines in N-dimensional tic-tac-toe.
gollark: Oh, I could actually use that for a thing.
gollark: You should also consider fearing this "PC".
gollark: Anyway, are you not happy that JS has almost exactly the feature you wanted?
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.