On Sun, Apr 18, 2010 at 5:24 PM, Robert Goldman <rpgoldman@sift.info> wrote:
On 4/18/10 Apr 18 -10:18 AM, Juan Jose Garcia-Ripoll wrote:I was thinking one might do a two-phase process in which the
> Ideally the situation could be such that the loading of dependencies
> could be delayed until the system is actually used. In other words, load
> the system definition using the base class, record components,
> dependencies, etc, Only when the system is actually loaded, compute the
> dependencies which are present and can be used and change the class
> using the extensions which are really available.
:asdf-dependencies (and proposed :asdf-optional-dependencies) would be
loaded first. Then the remaining defsystem initargs would be processed.
Any reason not to do that?
> - Right now people are using symbols in other packages.This seems quite undesirable. You can't even /read/ such symbols
reliably. Currently this works because the forms that load the asdf
dependencies are lexically before the DEFSYSTEM form. But putting the
asdf-dependencies there would make this impossible. We would need to
find a solution much less cumbersome than the current
(funcall (intern <function name> <extension package>) ...)
or similar constructs which I find myself typing more often than I'd
like in PERFORM methods...