Describe installation process in Common Lisp section

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:33 +00:00
parent 3dbc08537a
commit 5fb2233b2f

View File

@ -353,8 +353,7 @@ needs to be set up to install them if they aren't already.
** Lisps
*** Common Lisp
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
binding for =slime-selector=
Use SLIME and Quicklisp for Common Lisp (SBCL).
#+begin_src emacs-lisp
(use-package slime)
@ -363,8 +362,28 @@ needs to be set up to install them if they aren't already.
(load (expand-file-name "~/quicklisp/slime-helper.el"))
#+end_src
And we also want to enable execution of CL source blocks in Org
mode, which we do by adding an item to [[help:org-babel-load-languages][org-babel-load-languages]].
This assumes that SBCL and Quicklisp, along with Quicklisp's SLIME
helper, are installed. Once SBCL is installed, Quicklisp and its
SLIME helper can be installed by grabbing [[https://beta.quicklisp.org/quicklisp.lisp][the installer]] and
loading it with SBCL.
#+begin_src shell :tangle no
curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
#+end_src
That will open a REPL with the =quicklisp-quickstart= system
loaded. At that REPL, run:
#+begin_src common-lisp :tangle no
(quicklisp-quickstart:install)
(ql:add-to-init-file)
(ql:quickload "quicklisp-slime-helper")
#+end_src
**** Source blocks
To enable execution of CL source blocks in Org mode, add an item
to [[help:org-babel-load-languages][org-babel-load-languages]].
#+begin_src emacs-lisp
(org-babel-do-load-languages