Date: 2010-02-07 23:45:56GMT+01:00
Subject: Re: [asdf-devel] Launchpad bug 502946
good evening;
you may, or may not be expecting this, but i got tired of trying to understand traverse.
and tired of trying to understand parse-component, and defsystem, and pathname resolution, and ...
i am now about 3/4 through rewriting asdf with clear protocols for
- definition operators (at all three levels - system, module, element)
- perform - with distinct qualifiers for requirement (dependency, constituency) traversal, restart
- requirement and constituency specification canonicalization
- status evaluation for completion, features, other arbitrary predicates
- settings/environment assertions per component
- pathname resolution which does not depend on the quirks of *default-pathname-defaults*
it's about the same amount of code - even though many of the internal operators are decomposed to make the mechanism explicit.
the most unsettling part is to ensure that - between the bnf in the docs and the logic of the code, i've gotten the dependency definitions right, but it won't be long. i've been chewing through this since friday, so maybe by the time you're up tomorrow, there will be some code up in github which passes the tests. the intent is plug-compatible for the things i can understand, and i'm putting it in a new package, so with a couple package-name swaps, one can try things side-by-side. i will let you know.
On 2010-02-07, at 22:40 , Robert Goldman wrote:
module is not recompiled if _intra_-system dependency changes, I have
spent quite some time groveling over the source code to TRAVERSE, and I
believe that this is going to be quite difficult to fix. There are a
number of assumptions baked into TRAVERSE, and some complicated uses of
a variable scoped over the body of TRAVERSE, together with a number of
local functions and a soupcon of unstated assumptions.
I'm pretty sure that modules are substantially broken and, in the short
term, I would discourage ASDF system designers from using them at all.
I have been banging my head on this for at least a working day's worth
of hours, and I need someone with whom to discuss the code, either by
voice, IM or IRC. Email is not going to be high enough bandwidth.
If anyone is interested in this enough to share the pain with me, please
drop me a line and we can coordinate.
Thanks,
r
_______________________________________________
asdf-devel mailing list