start-swank.lisp 690 Bytes
Newer Older
1 2 3 4 5 6 7
;;; This file is intended to be loaded by an implementation to
;;; get a running swank server
;;; e.g. sbcl --load start-swank.lisp
;;;
;;; Default port is 4005

;;; For additional swank-side configurations see
8
;;; 6.2 section of the Slime user manual.
9 10 11

(load (merge-pathnames "swank-loader.lisp" *load-truename*))

12 13 14 15
(swank-loader:init
 :delete nil         ; delete any existing SWANK packages
 :reload nil         ; reload SWANK, even if the SWANK package already exists
 :load-contribs nil) ; load all contribs
16 17 18 19 20

(swank:create-server :port 4005
                     ;; if non-nil the connection won't be closed
                     ;; after connecting
                     :dont-close nil)