Hi,
I have committed a new file (swank-ecl.lisp) and a couple of fixes in swank-loader.lisp so that slime works with the lisp implementation ECL (http://ecls.sourceforge.net).
I did not have much time to work on this port, and the loader (swank-ecl.lisp) is basically the one I already submitted to this list long ago. I only included some changes contributed by a member of the ECL mailing list (Johan Bockgård,) and which were available at http://www.dd.chalmers.se/~bojohan/emacs/slime/
These changes forces swank to be loaded in the interpreter, as the ECL compiler is not mature enough and crashes with some of the toplevel forms in slime.
I did not do any extensive checking, but simple things seem to work. If only, I realized that many error messages in ECL are not very useful :-)
Regards
Juanjo
Thanks.
The error seemed to be in swank.lisp. What exactly is the problem?
Cheers -- Marco
On Aug 3, 2005, at 5:59 AM, Juan Jose Garcia Ripoll wrote:
Hi,
I have committed a new file (swank-ecl.lisp) and a couple of fixes in swank-loader.lisp so that slime works with the lisp implementation ECL (http://ecls.sourceforge.net).
I did not have much time to work on this port, and the loader (swank-ecl.lisp) is basically the one I already submitted to this list long ago. I only included some changes contributed by a member of the ECL mailing list (Johan Bockgård,) and which were available at http://www.dd.chalmers.se/~bojohan/emacs/slime/
These changes forces swank to be loaded in the interpreter, as the ECL compiler is not mature enough and crashes with some of the toplevel forms in slime.
I did not do any extensive checking, but simple things seem to work. If only, I realized that many error messages in ECL are not very useful :-)
Regards
Juanjo
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id%16492&op=click _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list
-- 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.
On Wed, 2005-08-03 at 11:00 -0400, Marco Antoniotti wrote:
The error seemed to be in swank.lisp. What exactly is the problem?
The error is not in swank itself. It is related to the following fact: the closure analyzer in ECL, i.e. the code which determines which variables have to be preserved in closures when creating functions with FLET, LABELS and LAMBDA, works well with all forms except toplevel forms. The circumstances under which it fails are quite borderline, though, and have not shown up until the slime port.
The reason for this bug is that ECL had, up to now, different compilation routines for toplevel and non-toplevel forms, and the toplevel routines were difficult to modify. I am still working on unifying both layers.
Juanjo