abcl
abcl copied to clipboard
defclass not working according the CL standard
Details here https://www.reddit.com/r/Common_Lisp/comments/1fpztx6/cannot_find_class_in_macro_why/ , the post is related with SBCL, but this is also failing in ABCL
it does compile with abcl.
MY-PACKAGE(3): (my-macro my-class)
(#<STANDARD-CLASS MY-CLASS {3FD4865A}>)
No it doesn't. You need to put the code into a file and evaluate:
(load (compile-file "file.lisp"))