[slime-devel] swank-sbcl patch: make swank-compile-string use compile-file

Hello, The following patch changes SBCL's swank-backend:swank-compile-string to create a temporary file and invoke compile-file on that similarly to what other backends, e.g. OpenMCL and Allegro, do. Everything seems to work fine but I haven't tested it extensively. Hopefully, it's not a terrible idea either. 2006-06-26 Luís Oliveira <loliveira@common-lisp.net> * swank-sbcl.lisp (tmpnam, temp-file-name): New functions. (swank-compile-string): Create temporary file with the string and compile-file it instead of compiling an anonymous lambda, as before, in order to better handle eval-when forms. -- Luís Oliveira luismbo (@) gmail (.) com http://student.dei.uc.pt/~lmoliv/

* Luís Oliveira [2006-06-26 02:08+0200] writes:
Hello,
The following patch changes SBCL's swank-backend:swank-compile-string to create a temporary file and invoke compile-file on that similarly to what other backends, e.g. OpenMCL and Allegro, do.
Thanks for the patch. I applied it to the CVS version. Helmut.

Luís Oliveira <luismbo@gmail.com> writes:
Everything seems to work fine but I haven't tested it extensively. Hopefully, it's not a terrible idea either.
Some more testing revealed breakage in locate-compiler-note. I see Helmut fixed some of it and here's a patch to fix some more. Thanks to Juho Snellman for his guidance. -- Luís Oliveira luismbo (@) gmail (.) com http://student.dei.uc.pt/~lmoliv/
participants (2)
-
Helmut Eller
-
Luís Oliveira