Re: rfc - delay the parsing of system components

Gary King <[email protected]> Mon, 13 Oct 2008 20:06:49 -0400
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
OK. I hear what everyone is saying and appreciate the feedback. I'd  
like to back up (or out!) a bit and reconsider my goals:

* I don't want to replace ASDF; it;s good, it works, it's in use;  
adding a new one just muddies the waters.
* I do want to make it easier to use extensions (new operations and  
file types) in a system file.

My first plan was the proposal to delay parsing and muck with  
traverse / perform. Here is two others:

1. add keyword

* As in #0, Delay the parsing of system components (so that these can  
come later)
* Add a new keyword (as RIchard Kreuter suggested) that loads  
extensions and which is processed "outside" of and before traverse/ 
perform. Let's call it :requires
* An operation will first process the requires form, then expand the  
component forms, then run the existing traverse/perform

2. Like #1 only without the new keyword.

* ASDF behaves as it does now except that a systems :depends-on is  
processed before and separately from the processing of its components.

As I see it, #2 this keeps the syntax the same but runs a higher risk  
of breaking things whereas #1 adds syntax but can cause no breakage.

Both of these lose the ability to (easily) wrap restarts around  
modules or systems.
--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/