SBCL for Windows Был приятно удивлён тем, что
SBCL (реализация Common Lisp) для Windows уже
выложена на официальном сайте, и даже работает.
Из пакетов в дистрибутив включены только
asdf
и пачка специфичных
sb-***
.
Поддерживается сохранение образа в исполняемый файл (stand-alone executable):
C:\>sbcl --noinform
This is experimental prerelease support for the Windows platform: use
at your own risk. "Your Kitten of Death awaits!"
* (defun main () (print 'hello) (sb-ext:quit))
MAIN
* (sb-ext:save-lisp-and-die "prog.exe" :toplevel (lambda () (main) 0) :executable t)
[undoing binding stack and other enclosing state... done]
[saving current Lisp image into C:\\prog.exe:
... ...
done]
C:\>prog
This is SBCL 0.9.18 [...]
HELLO