8 #+(and ccl
(not windows
))
11 (:implementation allegro
20 (:implementation clisp
24 (:implementation lispworks
28 (:implementation cmucl
36 (defun write-to-init-file (code)
37 (with-open-file (stream *init-file
* :direction
:output
:if-exists
:append
)
38 (write-string code stream
)
40 (export 'write-to-init-file
)
42 (defun write-vendor-to-init-file ()
43 (write-to-init-file (format nil
"~%(require 'cl-vendor)~%")))
44 (export 'write-vendor-to-init-file
)
46 (defmacro error-platform-unsupported
()
47 `(error "This platform is not supported"))
49 (defun quit (&optional
(exit-code 0))
50 (declare (ignorable exit-code
))
56 (error-platform-unsupported)
61 (defun generate-exe (filename toplevel-fn
)
64 (ccl:save-application filename
65 :toplevel-function toplevel-fn
72 (sb-ext:save-lisp-and-die filename
77 (error-platform-unsupported)
79 (export 'generate-exe
)
81 (defmacro eval-when-all
(&body body
)
82 `(eval-when (:compile-toplevel
:load-toplevel
:execute
)
85 (export 'eval-when-all
)