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 (set-dispatch-macro-character
29 (lambda (stream char arg)
30 (declare (ignore char arg))
31 (values (read-line stream))))
34 (defun mdw-hacks:crank-swank (&rest #1=#:args)
35 (let ((#2=#:swank #3=(find-package "SWANK")))
37 (load "/usr/share/common-lisp/source/slime/swank-loader.lisp")
39 (set (find-symbol "*GLOBAL-DEBUGGER*" #2#) nil)
40 (apply (find-symbol "CREATE-SERVER" #2#) #1#)))
42 #+asdf (setf asdf:*compile-file-failure-behaviour* :warn)
45 (pushnew :mdw *features*)
46 ;;#+(and cmu mp) (mp::startup-idle-and-top-level-loops)