On that articles, the author enters the code directly while running SBCL, and I'm wondering how to do that from file.
My first attempt is this code : test.lisp
Code: Select all
(defun hello()
(format t "Hello, (cruel) world!~%"))
compared to the output from the article :This is experimental prerelease support for the Windows platform: use
at your own risk. "Your Kitten of Death awaits!"
Hello, (cruel) world!
debugger invoked on a TYPE-ERROR: The value NIL is not of type (SIGNED-BYTE 32).
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
(no restarts: If you didn't do this on purpose, please report it as a bug.)
(SB-UNIX:UNIX-EXIT NIL)[:EXTERNAL]
0]
Where is my mistake ? And BTW, how can I suppress the "This is experimental prerelease ..." message, so the output would be just "Hello world!" ?This is experimental prerelease support for the Windows platform: use
at your own risk. "Your Kitten of Death awaits!"
Hello world!