[asdf-devel] printing the symbol asdf:defsystem for .asd file
stassats at gmail.com
Sun Mar 3 11:12:07 UTC 2013
Dave Cooper <david.cooper at genworks.com> writes:
> So I am using ASDF 2.31 which puts the symbol "defsystem" into
> asdf/defsystem package instead of plain asdf package (Franz already
> includes ASDF 2.31 in their patches for Allegro CL).
> I have a little utility which emits the .asd files for me, with a form like:
> `(asdf:defsystem ,(something-to-make-my-system-name) :description "blah"
> … )
> and now the asdf:defsystem symbol is coming out as asdf/defsystem:defsystem
> which makes the .asd file non backwards-compatible with slightly older asdf
> because (symbol-package 'asdf:defsystem) --> #<The asdf/defsystem package>
> So the Question is, what is the best way to get asdf:defsystem to print as
> when its home package is :asdf/defsystem and apparently it is now just
> re-exported from :asdf.
> Or should this symbol now be officially printed as asdf/defsystem:defsystem
> Or should I put some (in-package ...) statement at the top of the .asd
> file, and use plain defsystem with no package prefix?
> Of course I think for the time being the .asd file should be compatible
> with all ASDF versions from recent history...
You don't need to have prefixes already, when .asd is loaded ASDF
creates a temporary package, which uses ASDF package.
With best regards, Stas.
More information about the asdf-devel