On Thu, Aug 19, 2010 at 10:13 AM, Tobias C Rittweiler <span dir="ltr"><<a href="mailto:tcr@freebits.de">tcr@freebits.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Now I'm wondering how good that solution is.<br></blockquote><div><br>Bad. I already spoke about why I am against reader conditionalization in ASDF files. Dependencies should only be either features (strictly CL implementation dependent not the ones introduced by libraries) or modules (thus recognized by ASDF), which may themselves be optional or compulsory and ASDF should provide a good syntax for both.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
What is if the library was compiled with a core that<br>
happened to include named-readtables? Trying to load<br>
that fasl with another core file would probably result<br>
in an obscure error. Now, it's a shoot-yourself-in-the-foot<br>
kind of thing to do, but I'd think it's something that<br>
can happen quite easily. Does ASDF somehow guard against<br>
this case?<br></blockquote><div><br>This is one of the reasons why reader conditionalization is bad: the dependency is stored outside ASDF, in *features*, which is not good. If one sticks to ASDF, it would recognize the named-readtables modules to be present in the core and thus it would work, or it would not find it and then it would load it.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

>From what I can see, it appears that :WEAKLY-DEPENDS-ON<br>
was added in a quick rush thinking that it might be<br>
appropriate for conditional compilation, but it really<br>
is not. Does that seem true to you, too?<br></blockquote><div><br>I once tried to understand how :weakly-depends-on works, but I simply could not (ASDF internals really elude me). Hence, I am not sure whether it is the replacement I have in mind, but the name seems ok :-)<br>

</div></div><br>Juanjo<br><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>