Compiled libraries are not made available to eval
When a program is compiled with -feval
and it includes some library, that library is not made available to eval. If you try to load such a library then you might get a different instance of it (if there is even source code available for it).
Fixing this requires some fiddling with compiler/expander.sls
and likely fixing up build-system-library
.
A related problem: the primloc library is inserted before the program (*main*
). But that means the user's libraries can't use eval and environment during initalization.