On Mon, Mar 15, 2010 at 2:33 AM, Faré <fahree@gmail.com> wrote:
> directory, the *.ASD file and the binaries, is just fine.>> It's your design choice. I believe that distributing together, in the same
OK. But I don't see what is your problem, then?
I mean, you can either write a new component type for libraries to be loaded
without being compiled (i.e. compile-op is a nop, load-op loads the binary),
or just define a special method that does all the loading.
> written code.> We just need a way to selectively deactivate those translations from user
Why need translations at all? Just don't use OUTPUT-FILES in your target .asd.
When you create a target .asd, use components that refer directly to the
things to be loaded. Your class compiled-file looks great.
So I suppose that what you were asking for all that time,
that I was failing to understand all along, was
the ability for OUTPUT-FILES
to say return a (CONS PATHNAME NIL) meaning
"I want this pathname, untranslated"
and the outer-most :AROUND method would detect that, then pass
the inner PATHNAME untranslated.
That's totally doable. Would adding a case
(cons (pathname (car path)))
to apply-output-translations satisfy you?
Alternatively, I could cook up an API to easily add a mapping to
output-translations on the fly (if not already there).
So what about marking paths as "not to be translated" by returning
(list path) instead of path?