On Mon, Mar 29, 2010 at 5:47 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;">
I.e., can you characterize this declaratively in terms of the values of<br>
MODULE-COMPONENTS, and for some operation the values of INPUT-FILES<br>
and/or OUTPUT-FILES?<br>
</blockquote><div><br>I do not understand your concerns or those in other messages. I do not intend to change the API, nor the way TRAVERSE works. I just want to code a _separate_ function that ensures we gather everything that is needed for a system to load. I see three uses of a better coded GATHER-COMPONENTS<br>
<br>1) Find the compiled files that make up a system<br>2) Find all the components that make up a system<br>3) Find all the files that make up a system<br><br>In case 1) which is the one I am most interested in the behavior should be as follows. Assume lisp L is a fresh new image with only ASDF in it and assume system S is the system we want to gather information about. Assume that L is used ONCE with S using operation LOAD-OP. Exit that lisp image and load L AGAIN and apply LOAD-OP on the same system S. GATHER-COMPONENTS  should return the list of files that are LOADed in the second phase, for this is by definition the set of files that actually make up a system.<br>
<br>Case 2) could be coded as case 1) but instead of gathering the files at the end, gather the list of all components.<br><br>Case 3) requires new syntax because right now we do not have ways to list all the resources that belong to a system, do we?<br>
<br>The reason why I am calling for a consensus here is that this implies understanding how TRAVERSE works and finding the right way to operate on the chain of systems to gather the previous information.<br></div></div><br>
Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>