[armedbear-devel] Support for concatenated fasls
evenson at panix.com
Wed Apr 3 21:16:40 UTC 2013
On 4/3/13 10:39 PM, Erik Huelsmann wrote:
> As we discussed, I'd write FASL concatenation support for ABCL. I'm
> nearly done, however I'm running into a snag caused by ASDF:
> Normally, a file "package.lisp" is compiled into a fasl "package.abcl"
> which is basically a zip with at least one entry: "package._". The "._"
> file contains instructions for loading the fasl and may contain
> references to other files in the same zip.
> My FASL concatenation code currently uses the assumption that the "._"
> file has exactly the same name as the enclosing package. However, FASLs
> generated using ASDF violate that assumption: the ._ file in the fasl
> isn't called "package._" but it's called "package-ASDF_TMP._".
> How does ABCL know about the suffix when ASDF is loading the FASL
> "package.abcl" with the suffixed file in it in the regular situation?
The code in the java implementation of CL:LOAD, in Load.java:175 ff.
makes an attempt to match a pathname with a wild NAME component if the
fasl has been renamed.
"A screaming comes across the sky. It has happened before, but there is
nothing to compare it to now."
More information about the armedbear-devel