need better asdf support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Slime |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
ASDF integration to SLIME is lacking.
When evaluating a .asd file foo, SLIME should be using
(asdf:load-sysdef "foo" #p"/path/
This ensures that the file is loaded in the proper package,
that proper circular-
It is always wrong to compile-file it to a .fasl,
as many .asd files cannot be compiled, and the fasl will often conflict
with the fasl for a similarly-named lisp file.
When compiling a .lisp file that is part of an asdf system,
SLIME should be using (asdf:perform (make-instance 'asdf:compile-op COMPONENT))
where COMPONENT is the component that corresponds to the file.
This ensures that proper encoding is used, that appropriate :around-compile hooks
are invoked (to setup the correct optimization settings, readtables, package aliases, etc.)
We may have to develop a proper API for going from file to component,
especially when not all .asd files have been loaded yet.
Changed in slime: | |
status: | Fix Committed → Fix Released |
The first point could be made as the default action when slime-asdf contrib is loaded, as to the second, I wouldn't really expect this to happen, so it's better to make it an optional feature.