[slime-devel] :new-features command

Brad Beveridge brad.beveridge at gmail.com
Mon Nov 6 07:29:37 UTC 2006


Hi all,
I'm trying to write a Common Lisp frontend that speaks to a Swank
backend.  I've just run into a bit of a problem.
Let's assume that Swank sends the message (:new-features (:cffi :x86
cffi-features:darwin)).
In my code I decode the length of a message then do
(with-standard-io-syntax (read-from-string message))

SBCL's reader barfs on the symbol CFFI-FEATURES:DARWIN, because the
host side doesn't have have the package CFFI-FEATURES.  Which is fair
enough.
I'm guessing that the Emacs interpreter doesn't bother resolving the
symbols, so there is no problem.  Later on Slime prefixes ":" in front
of the non-keyword symbols, presumably to make them into keyword
symbols.

Am I understanding this correctly?  Is it possible to move the keyword
interning to the Swank side?  If so, I'll try to write a patch for
that.

Cheers
Brad



More information about the slime-devel mailing list