On Wed, Mar 31, 2010 at 11:16 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">I have uploaded a newer version of the feature that allows two different syntaxes<br><br>:logical-host "MY-HOST"<br>:logical-pathname "MY-HOST:MY-BASE"<br>
<br>The three pathnames that are defined are "xxx;SRC;*.*.*", "xxx;DATA;*.*.*" <font color="#888888"><br></font></div><font color="#888888">

</font></blockquote><br><div>I have just realized that the :logical-pathname case is indeed much more complicated than what I had assumed: my implementation just set the given translations for the given host, overwriting previous translations.<br clear="all">
</div><div><br></div><div>A real implementation of arbitrary logical pathname translations would require a much more complicated code, probably based on something like james anderson's utilities, requiring:</div><div>
1) Analysis of the argument to :logical-pathname</div><div>2) Analysis and comparison of existing previous translations</div><div>3) Producing an intersection set, with the new paths</div><div>4) Sorting out conflicts.</div>
<div><br></div><div>But this indeed makes it more questionable the possibility of arbitrary paths vs. a simple host controlled by ASDF.</div><div><br></div><div>Why? Because we need more complicated functions, and because these functions have to be present in the code that is shipped with these translations, in other words, having an implicit dependency on a functionality provided by ASDF.</div>
<div><br></div><div>So I go back to the original proposal of :logical-host, which I insist is just simple, verifiable, does not imply complicated logic and can be exported to compiled code and distributed files.</div><div>
<br></div><div>Juanjo</div><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>