[Ecls-list] ASDF support for ECL (or vice versa)

Marco Antoniotti marcoxa at cs.nyu.edu
Fri Feb 25 10:25:51 UTC 2005


Sorry.  I missed that.

Marco




On Feb 25, 2005, at 1:15 PM, Julian Stecklina wrote:

> 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             --
>
--
Marco Antoniotti					http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.





More information about the ecl-devel mailing list