<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 26, 2021 at 2:12 PM <<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The Snd repl (xen_repl in the scheme section in xen.c)<br>
uses the function stdin_check_for_full_expression (snd-xen.c)<br>
to get a full expression from emacs. It might be more<br>
straightforward in s7 to use the missing-close-paren-hook or<br>
the underlying error to do something similar. But currently<br>
the s7 emacs repl is dumb.<br>
<br>
I looked at geiser briefly, but my recollection is that<br>
it insisted on r6rs library ("module") handling. Maybe<br>
they have removed that requirement, or someone could hack<br>
around it. It would be great to have that capability<br>
in emacs.<br></blockquote><div><br></div><div>Hmm, might be a good project for the Fall.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The other possibility is LSP (Miscrosoft's Language<br>
Server Protocol). Again my memory is fading, but I<br>
think it uses JSON to communicate both ways. I started<br>
json.scm, but lost interest (I guess XML would have been<br>
worse, but geez...). There is emacs support for LSP.<br></blockquote><div><br></div><div>There's also <a href="https://nrepl.org/nrepl/index.html">nrepl</a>, which grew out of Clojure but is apparently language-agnostic.</div><div><br></div><div>Gregg </div><div><br></div><div> </div></div></div>