[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reader macro



The #, reader macro doesn't seem to work right with the compiler.  The
compiler is supposed to arrange for the form after the #, to be
evaluated at load time.




test.lsp
--------
(in-package "USER")

(defvar a #,(get-universal-time))




AKCL (Austin Kyoto Common Lisp)  Version(1.530) Thu Jan 24 09:50:24 EST 1991
Contains Enhancements by W. Schelter
start address -T 2374a8 start address -T 23a000 
>(compile-file "/users/djb/lisp/test.lsp")
Compiling /users/djb/lisp/test.lsp.
End of Pass 1.  
End of Pass 2.  
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling /users/djb/lisp/test.lsp.
#"/users/djb/lisp/test.o"

>(load "/users/djb/lisp/test")
Loading /users/djb/lisp/test.o

Error: The function SYSTEM:|#,| is undefined.
Error signalled by SETQ.
Broken at SETQ.  Type :H for Help.
>>:q
Top level.
>