sharplispers / cormanlisp

Corman Lisp
MIT License
570 stars 78 forks source link

Fix swank support #43

Open phoe opened 5 years ago

phoe commented 5 years ago

Mentioned in #42

It used to be SLIME compatible, but currently the support for Corman Lisp in SWANK is broken. The code is still there though. I haven't had time to investigate it further.

espenhw commented 5 years ago

Hey, original author of the SWANK Corman Lisp support here (15 years ago, my how time flies). While my website is gone, the relevant bits can be retrieved from the Wayback Machine here: https://web.archive.org/web/20160516083602/https://www.grumblesmurf.org/lisp/corman-patches.html and here: https://web.archive.org/web/20110830084006/http://www.grumblesmurf.org:80/lisp/corman-slime.html

Hopefully that will make it easier to figure out what's going wrong.

arbv commented 5 years ago

@espenhw

Thank you so much!

It seems that the patches are for Corman Lisp 2.51. Hopefully, some of the problems which they address are fixed in the newer versions of the Corman Lisp. It would be nice to integrate what is still missing. It is very important, as the patches generally address various compatibility issues.

I will investigate the patches closely later. Surely, having at least basic support for SLIME is an important milestone.

BTW, as these "patches" are, in fact, replacements for the files from the CL 2.51 distribution, can you, by any chance, provide the Corman Lisp 2.51 installer?

espenhw commented 5 years ago

No, I don't have the CCL 2.51 installer lying around from back then. But I see that I've at least tried to document what the intent of my changes was, so there is that. 😄

From memory (bear in mind that this is 15 years ago, so my recollections are hazy at best) the changes needed were fairly obvious, in the sense that loading swank-loader.lisp complained loudly and (mostly) clearly as to what was wrong.

Of course, there have probably been changes on the SLIME side since then, so additional work may be needed in the SWANK implementation for CCL.

arbv commented 5 years ago

@espenhw

Thank you! I am going to look at your patches later.

arbv commented 5 years ago

It seems that the installer for Corman CL 2.51 is lost. I was looking for it everywhere but could not find it. Roger Corman (@rgcorman) provided the installer for Corman CL 2.5 which is, hopefully, sufficient enough to produce the patches.

I have attached the CCL 2.5 to the message. I will look at it later.

Corman Lisp 2.5_installer.zip Corman Lisp 2.5_unpacked.zip