[armedbear-devel] Patch for ASDF2 to use arbitrary output translation function

Mark Evenson evenson at panix.com
Thu Mar 25 15:38:33 UTC 2010


On 3/25/10 2:39 PM, Mark Evenson wrote:
[…]

> I'm working on an implementation of this on your git version as a
> proof of concept, but haven't gotten much further than getting your
> output configuration to accept the new syntax.  I assume that
> actually applying the function will be easy, but I am not sure.

[…]

Attached please find a patch to implement the use of an arbitrary output 
translation function in ASDF2.

An example of the use would be the directive

    (#p"jar:file:/**/*.jar!/**/*.*" :function translate-jar-pathname)

which will call the function TRANSLATE-JAR-PATHNAME on a match of the 
first element of the list.  The function will be invoked with two 
arguments, the first being the matching wildcard, and the second being 
the pathname to be translated.  The function returns the translation.

Hopefully, after review and critique, we can can get something like this 
in ASDF2.

With the attached patch to abcl trunk, I can successfully use ASDF2 to 
load ASDF systems in jar files, with the compiled files being output to 
a translation under :USER-CACHE.


-- 
"A screaming comes across the sky.  It has happened before, but there
is nothing to compare to it now."
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: abcl-jar-pathname.patch
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100325/c63d6f05/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: asdf-translation-function.patch
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100325/c63d6f05/attachment-0001.ksh>


More information about the armedbear-devel mailing list