[asdf-devel] Parse a component without loading it

Francisco Vides Fernández fvides at dedaloingenieros.com
Fri Jun 3 12:42:05 UTC 2011


I'm working on a project to generate deb packages directly from asdf
files (if it works, will be published open sourced).

I need to parse a component definition form and work with the generated
object, so I'm using asdf::parse-component-form for this, but it first
searches the component (using asdf::find-component) and if it doesn't
exist, then makes a new instance but the desired behaviour in this case
is always generate a fresh instance. I've extended it so it can accept
an optional parameter, 'reuse-instance to get the desired behaviour
(patch attached).

Furthermore, IMHO, asdf::parse-component should be exported so it makes
easier to develop asdf extensions.

Am I missing something? Is the attached patch acceptable?

Thank you

| Francisco Vides Fernández <fvides at dedaloingenieros.com>
| Gerente
| Teléfono fijo:   952 60 29 59
| Fax:             952 60 29 59
| Dédalo Ingenieros http://www.dedaloingenieros.com/
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0xB1299C15

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20110603/f9ac0603/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-reuse-instance.diff
Type: text/x-diff
Size: 921 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20110603/f9ac0603/attachment.diff>

More information about the asdf-devel mailing list