1 (defpackage #:mdw-hacks
3 (:export #:crank-swank))
4 (use-package '#:mdw-hacks)
6 ;; Obtain ASDF from somewhere.
8 #+clisp (let ((*compile-verbose* nil)
10 (load "/usr/share/common-lisp/source/cl-asdf/asdf.lisp"
12 (handler-bind ((warning (lambda (cond)
13 (declare (ignore cond))
15 (funcall (find-symbol "LOAD-SYSTEM" :asdf) :asdf
19 (setf *load-verbose* nil)
20 (setf *compile-verbose* nil)
21 #+cmu (setf *gc-verbose* nil)
24 #+clisp (setf custom:*parse-namestring-ansi* t)
27 (defun mdw-hacks:crank-swank (&rest #1=#:args)
28 (let ((#2=#:swank #3=(find-package "SWANK")))
30 (load "/usr/share/common-lisp/source/slime/swank-loader.lisp")
32 (set (find-symbol "*GLOBAL-DEBUGGER*" #2#) nil)
33 (apply (find-symbol "CREATE-SERVER" #2#) #1#)))
35 #+asdf (setf asdf:*compile-file-failure-behaviour* :warn)
38 (pushnew :mdw *features*)
39 ;;#+(and cmu mp) (mp::startup-idle-and-top-level-loops)