Skip to content

Instantly share code, notes, and snippets.

View justindvs's full-sized avatar

Justin Davis justindvs

View GitHub Profile
@justindvs
justindvs / abusing-restarts.lisp
Last active August 29, 2015 14:01
(Ab)Using Language Features: The Common Lisp Condition System
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This script works with GNU CLISP but may not work with other
;; implementations since the restarts which are provided are
;; implementation dependant. This will *not* work when compiled
;; since CLISP removes the use-value restart in compiled code.
;;
;; This script also uses quicklisp to load several third party
;; libraries (see http://www.quicklisp.org)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;