On Wed, Dec 31, 2003 at 07:43:18AM +0100, Wolfgang Jenkner wrote:
sedachv sedachv@cpsc.ucalgary.ca writes:
I've gotten the swank backend mostly working on CLISP.
Me too :-) For purposes of comparison:
http://members.inode.at/wjenkner/clisp/swank-clisp.lisp
There is support for frame locals, the portable xref and some proof of concept support for compiler notes. On the other hand, you have given more thought to the socket interface. Perhaps we could combine our efforts.
Excellent! It looks like your debugging code is a lot better than mine, and I didn't even know there was a portable xref. I threw a quick cut-and-paste job together that somewhat works. It's attached, and distributed under the GPL (since most of it is your code, and I just realized I should have put my previous version under the GPL too since it is technically an extension to CLISP). One thing to note is that under CLISP 2.32, trying to compile a file from SLIME causes this error: "NO-APPLICABLE-METHOD: When calling #<GENERIC-FUNCTION SWANK::MESSAGE> with arguments (NIL), no method is applicable." The backtrace is a little hairy, and I've decided not to look into it right now.
My set of patches for the other files is at
http://members.inode.at/wjenkner/clisp/slime.diff
By the way, with my version I didn't run into the problem with symbol completion you described (I use the current CVS version of CLISP).
Hmm, it seems that I'm doing something wrong in my code (possibly stemming from stream-handling). Your version seems to work just fine (I did just upgrade to 2.32, but mine still fails with the same error as before; in particular it says: "Illegal START index <1+ (length string)> for <string>" for any completion string it tries to get). Same thing for the attached file.
Wolfgang
Vladimir