[CM] emacs support for s7 repl?

Gregg Reynolds dev at mobileink.com
Sun Sep 26 18:34:19 PDT 2021


On Sun, Sep 26, 2021 at 2:12 PM <bil at ccrma.stanford.edu> wrote:

> The Snd repl (xen_repl in the scheme section in xen.c)
> uses the function stdin_check_for_full_expression (snd-xen.c)
> to get a full expression from emacs.  It might be more
> straightforward in s7 to use the missing-close-paren-hook or
> the underlying error to do something similar.  But currently
> the s7 emacs repl is dumb.
>
> I looked at geiser briefly, but my recollection is that
> it insisted on r6rs library ("module") handling.  Maybe
> they have removed that requirement, or someone could hack
> around it.  It would be great to have that capability
> in emacs.
>

Hmm, might be a good project for the Fall.


>
> The other possibility is LSP (Miscrosoft's Language
> Server Protocol).  Again my memory is fading, but I
> think it uses JSON to communicate both ways.  I started
> json.scm, but lost interest (I guess XML would have been
> worse, but geez...).  There is emacs support for LSP.
>

There's also nrepl <https://nrepl.org/nrepl/index.html>, which grew out of
Clojure but is apparently language-agnostic.

Gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210926/ce5b1f41/attachment.html>


More information about the Cmdist mailing list