This is probably blasphemy, but I've hacked the latest ilisp to play
nicely with scsh. I know that the good Dr. Shivers has written the
cmuscheme.el that is the canonical method by which an emacs user would
interact with scsh, but I use ilisp with clisp and am thinking about
hacking my .emacs to use ilisp with mzscheme, too, and thought that
this would be "a unified interface". Here are some questions:
1) Are the details of scsh, and scheme implementations in general,
sufficiently un-common lisplike, that it is probably better to just
use ilisp with lisp and tailor the cmuscheme stuff for use with
scheme? Please, I do not mean this as tender for a flame war.
2) Here is the elisp I added to "ilisp-sch.el" to describe scsh to
xemacs. Notice the definition of ilisp-eval-command, and how I get
scsh to evaluate the string passed to it by ilisp. This "works",
that is, xemacs and scsh talk to each other, but is there a better
or more standard way to do this?
;;; scheme shell
(defdialect scsh "scsh"
(setq ilisp-program "scsh"
comint-prompt-regexp "^> "
"(eval (read (make-string-input-port \"%s\"))
ilisp-set-directory-command "(chdir \"%s\")"))
3) Is there is any interest in all of the steps I did to get ilisp up
and running with scsh? If so, I'd be happy to post them or
otherwise make them available.
Layton Graphics, Inc