mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-02-18 05:42:53 -08:00
24 lines
858 B
Common Lisp
24 lines
858 B
Common Lisp
;;; This file is intended to be loaded by an implementation to
|
|
;;; get a running swank server
|
|
;;; e.g. ecl -load start-swank.lisp
|
|
;;;
|
|
;;; Default port is 4005
|
|
|
|
;;; For additional swank-side configurations see
|
|
;;; 6.2 section of the Slime user manual.
|
|
|
|
(load (merge-pathnames "swank-loader.lisp" *load-truename*))
|
|
|
|
(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
|
|
|
|
;; uncomment for Slime mode "REPL Hook"
|
|
;; (setf eql:*slime-mode* :repl-hook)
|
|
|
|
(mp:process-run-function :swank (lambda ()
|
|
(swank:create-server
|
|
:port 4005
|
|
:dont-close t))) ; allow to quit/restart Emacs without affecting running EQL programs
|
|
|