Skip to content

Instantly share code, notes, and snippets.

@fstamour
Created April 18, 2019 01:16
Show Gist options
  • Save fstamour/b5f1f5dde18470e5e1d44ba43e98ac2b to your computer and use it in GitHub Desktop.
Save fstamour/b5f1f5dde18470e5e1d44ba43e98ac2b to your computer and use it in GitHub Desktop.
sbcl-specific code to have a repl with :commands for quicklisp and swank
(ignore-errors (require 'sb-aclrepl))
(when (find-package 'sb-aclrepl)
(push :aclrepl cl:*features*))
(require 'sb-aclrepl)
#+aclrepl
(progn
(sb-aclrepl:alias ("ql" 1 "Load system with quicklisp") (sys) (ql:quickload sys))
(sb-aclrepl:alias ("swank" 1 "Start a swank server") ()
(require :swank)
(uiop:symbol-call :swank :create-server :dont-close t)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment