On Wed, Sep 22, 2010 at 4:35 PM, Robert Goldman <span dir="ltr"><<a href="mailto:rpgoldman@sift.info">rpgoldman@sift.info</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;">

<div class="im">On 9/22/10 Sep 22 -5:26 AM, Juan Jose Garcia-Ripoll wrote:> * The bootstrapping code can be different for a shipped asdf (one that<br>
> comes with the implementation) and for the asdf that is loaded by users.<br>
> This can be activated by an implementation by choosing whether to use<br>
> defpackage.lisp or something else. Doing this with the monolithic<br>
> asfd.lisp is a hell.<br>
<br>
</div>Can you explain this?  I don't really get it.  Presumably any<br>
implementation that wants to distribute ASDF can add its own "after<br>
hooks" in its own private copy.  I'm clearly missing something here...<br></blockquote><div><br>I am not only talking about hooks but about to-come features, such as dumping "executables", or creating monolithic fasl (a fasl made of multiple components). This can be done using separate files for each implementation, much like swank does, and requires implementation-dependent code which would be a nightmare to code via #+/#-. Same thing goes for the execution of commands via run-program or the like, or handling of configuration files -- to which implementations might wish to hook.<br>

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

I see some of your points, but I'd encourage you to carefully consider<br>
what I think is the core of Faré's argument:  the cost/benefit tradeoff.<br></blockquote><div><br>Nobody has really shown me _any_ cost, except that of having to open one or multiple files. Maintainance of each feature (compile-op, load-op, traverse, shell operations, configuration files) must and has to become independent. Otherwise something is broken in the development.<br>

<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Also this will incur a substantial cost in terms of testing hours, which<br>
are also strictly finite (although larger than the development hours<br>
supply).<br></blockquote><div><br>No. Why? I mean, the separate components are bundled into a single asdf.lisp and this process is automated (make -f GNUmakefile asdf.lisp). There is no new testing burden. I am just advocating for some common sense in the ASDF codebase, organizing it in a readable and separated way.<br>

<br>Robert, do you realize I already did the job for you? It is not is as if I was asking people here to do anything<br>   <a href="http://tream.dreamhosters.com/git/?p=lisp/asdf-decl.git&a=summary">http://tream.dreamhosters.com/git/?p=lisp/asdf-decl.git&a=summary</a><br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Finally, this seems to make more work for implementation maintainers<br>
that wish to bundle ASDF, although perhaps that could be mitigated...<br></blockquote><div><br>How? There is no burden. asdf.lisp will be built for them. If they _really_ want to add features, they can. I am thinking of ECL: I *do* want to have features built in ASDF.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
At the end of the day, of course, these are your hours.  If you think<br>
it's important enough, there's nobody stopping you from forking the repo<br>
and doing this work.  But as you've said yourself, you are primarily the<br>
ECL maintainer.  Is this the location where you will get the most value<br>
from your development hours?<br></blockquote></div><br>Hmm? I do not get the point of the whole discussion. The splitting _has_ been done, as shown before. I do not have to spend any more hours doing so. However your question generally applies to the whole purpose of getting involve in ASDF maintenance.<br>

<br>Juanjo<br clear="all"><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>