Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Julian Stecklina der_julian@web.de writes:
what features would be required of a Common Lisp system to actually support a (minimally) usable SLIME ?
First, the Lisp system should be complete enough to actually compile the code in swank.lisp. That may sound trivial, but, e.g., ECL cannot. Also GCL has apparently incomplete readtables, so that some tests must be disabled before the fasl file can be loaded.
Are there any particular features ECL is missing? (I am going to try that tomorrow, so there is no need for you to investigate, if you do not already know.)
Second, support for server sockets and the ability to turn client sockets into streams. This is a must.
This will probably work with ECL.
At this point it's usually possible to connect to the Lisp and to do simple evaluations. Symbol completion is also works very early.
Hopefully. ;)
If you want to use the REPL, you have to implement streams to redirect the output to Emacs. If the implementation supports Gray streams you can use the code in swank-gray.lisp. You have to disable output redirection until the streams are implemented and the output will show up the *inferior-lisp* buffer.
You can write your own stream classes via some CLOS magic in ECL. Hopefully I can hack this into a proper Gray streams interface. :)
Thanks for the information. If anything usable turns up, I'll report back to the list.
Regards,