-
Notifications
You must be signed in to change notification settings - Fork 110
Description
I'm working on an application that uses JSCL, and I'm using COMPILE-APPLICATION after JSCL:BOOTSTRAP, to compile it.
It compiles and works fine, but there's a problem, macros are not exposed to the runtime, and cannot be accessed from the REPL.
I think the environment needs to be dumped for that, as I understand from this comment here:
jscl/src/compiler/compiler.lisp
Line 518 in 29885f7
;;; BOOTSTRAP MAGIC: We record the macro definitions as lists during |
We record the macro definitions as lists during the bootstrap. Once everything is compiled, we want to dump the whole global environment to the output file to reproduce it in the run-time.
I tried calling DUMP-GLOBAL-ENVIRONMENT after COMPILE-APPLICATION, but it fails. Am I right about this? Do you have any idea how I can fix this and continue compiling with this approach?