Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the closest thing to Slime for Scheme?

I do most of my development in Common Lisp, but there are some moments when I want to switch to Scheme (while reading Lisp in Small Pieces, when I want to play with continuations, or when I want to do some scripting in Gauche, for example). In such situations, my main source of discomfort is that I don't have Slime (yes, you may call me an addict).

What is Scheme's closest counterpart to Slime? Specifically, I am most interested in:

  • Emacs integration (this point is obvious ;))
  • Decent tab completion (ideally, c-w-c-c TAB should expand to call-with-current-continuation). It may be even symbol-table based (ie. it doesn't have to notice a function I defined in a let at once).
  • Function argument hints in the minibuffer (if I have typed (map |) (cursor position is indicated by |)), I'd like to see (map predicate . lists) in the minibuffer
  • Sending forms to the interpreter
  • Integration with a debugger.

I have ordered the features by descending importance.

My Scheme implementations of choice are:

  • MzScheme
  • Ikarus
  • Gauche
  • Bigloo
  • Chicken

It would be great if it worked at least with them.

like image 728
Ryszard Szopa Avatar asked Sep 21 '08 12:09

Ryszard Szopa


2 Answers

SLIME's contrib directory seems to have SWANK implementations for MIT Scheme and Kawa.

like image 170
Luís Oliveira Avatar answered Oct 04 '22 11:10

Luís Oliveira


Geiser provides an excellent environment for Scheme. The latest version now also can interact with Chez Scheme, Chibi Scheme, Chicken Scheme as well as that old standby MIT Scheme, in addition to Guile and Racket. I would suggest installing it via Melpa, specially in order to get the latest version handling the much wider selection of REPLs.

like image 35
haziz Avatar answered Oct 04 '22 11:10

haziz