[slime-devel] Re: Maxima+Slime?

Helmut Eller heller at common-lisp.net
Fri Jun 3 11:39:06 UTC 2005


C Y <smustudent1 at yahoo.com> writes:

> Maxima encountered a Lisp error:
>
>  The value #<SWANK-BACKEND::SLIME-INPUT-STREAM {9006619}>
>  is not of type
>    SB-KERNEL:ANSI-STREAM.

This particular bit looks like a SBCL bug.  interactive-stream-p
doesn't work on Gray streams.

> Hmm. So it might take coding up a special REPL?

Depends on what you want.  Maxima's REPL should also work in SLIME.
Of course this will (should) only be the same as in a terminal.  If
you need fancy stuff like Maxima specific completion or indentation
you have to create your own REPL. (Probably quite a bit of work.)

Perhaps there's a cheaper solution, e.g. you could try to use the
normal SLIME REPL and a reader macro that reads the rest of the line
as Maxima syntax.  Don't know how useful/feasible that is.

Helmut.



More information about the slime-devel mailing list