[Ecls-list] ASDF support for ECL (or vice versa)
Julian Stecklina
der_julian at web.de
Fri Feb 25 10:19:51 UTC 2005
On Fri, 25 Feb 2005 11:29:43 -0500
Marco Antoniotti <marcoxa at cs.nyu.edu> wrote:
> Having a "SB-EXT" package in ECL does not seem to me to be a very good
I see no reference to sb-ext in the code preceeded by #+ecl. I am
confused. ;)
--- asdf.lisp 19 Jul 2004 21:18:07 -0000 1.86
+++ asdf.lisp 25 Feb 2005 15:57:58 -0000
@@ -1099,4 +1099,16 @@
(pushnew 'module-provide-asdf sb-ext:*module-provider-functions*))
+;; Hook into ECL's require/provide
+#+ecl
+(progn
+ (defun module-provide-asdf (name)
+ (handler-bind ((style-warning #'muffle-warning))
+ (let* ((*verbose-out* (make-broadcast-stream))
+ (system (asdf:find-system name nil)))
+ (when system
+ (asdf:operate 'asdf:load-op name)
+ t))))
+ (pushnew 'module-provide-asdf ext:*module-provider-functions*))
+
Regards,
--
Julian Stecklina
-- Common Lisp can do what C, C++, Java, PASCAL, PHP, Perl, (you --
-- name it) can do. Here's how: --
-- --
-- http://www.amazon.com/exec/obidos/ASIN/1590592395 --
More information about the ecl-devel
mailing list