10/02/18 00:37:24
>>858
ccl:save-applicationを使う。
URLリンク(ccl.clozure.com)
save-applicationはLispシステムの状態をファイルに保存する関数。
このファイルに、Lispのコア部分を含めると、実行可能なバイナリができる。
(save-application "a.exe" :prepend-kernel t)
ただ、これだとエントリポイントがREPLで、大抵は不都合なので、
(defun main () (format t "Hello, world!"))
(save-application "a.exe" :prepend-kernel t :toplevel-function #'main)
みたいに、自分でエントリポイントを作って指定する。