2.3 KiB
lang/common-lisp
Description
This module provides support for Common Lisp and the Sly development environment. Common Lisp is not a single language but a specification, with many competing compiler implementations. By default, Steel Bank Common Lisp (SBCL) is assumed to be installed, but this can be configured.
Common Lisp benefits from a mature specification and rich standard library. Thanks to its powerful REPL and debugger, it boasts an "interactive programming" style often unseen in other languages. Compiled Common Lisp programs are trusted to run unmodified for a long time.
Maintainers
This module has no dedicated maintainers.
Module Flags
This module provides no flags.
Plugins
Prerequisites
This module requires the SBCL compiler to be installed.
Features
This module does not integrate with the lsp
module. Sly (and SLIME before it) is
considered the defacto development environment for Common Lisp and provides much
of what is normally expected of an LSP, plus tight integration with the REPL and
Emacs.
Sly
Using this module is mostly a matter of using Sly. Please consider reading through the Sly Tour.
A Sly session will be started when you open a .lisp
file. Use SPC m '
to switch
to the REPL minibuffer.
org-mode
This module also enables the evaluation of lisp
source blocks in Org Mode.
However, you will need a running Sly session for this to work. M-x sly
starts
such a session if you didn't have one open already.
Configuration
If you don't want Sly to use SBCL, you can configure the variable
inferior-lisp-program
to some other binary on your PATH.