Re: [CM] emacs support for s7 repl?

2021-09-26 Thread Christos Vagias
Hi Gregg. You can use cmuscheme and then (run-scheme "the S7 repl binary"). But then there's the issue that when multiple lines sexps sent from emacs to S7, S7 will try to eval each line on its own and thus error. For that I compile my own main() that tries to evaluate the input, and keeps

Re: [CM] emacs support for s7 repl?

2021-09-26 Thread bil
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

[CM] emacs support for s7 repl?

2021-09-26 Thread Gregg Reynolds
Any tips for running s7 under emacs? I'm looking at geiser, wondering if it would be worth the trouble to derive a geiser-s7 package. Gregg ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Re: [CM] emacs support for s7 repl?

2021-09-26 Thread Gregg Reynolds
On Sun, Sep 26, 2021 at 1:52 PM Christos Vagias wrote: > Hi Gregg. > > You can use cmuscheme and then (run-scheme "the S7 repl binary"). > Thanks, I was not aware of cmuscheme. (My workaround has been to rename my executable "scheme" and use `run-scheme`, which sorta works.) > But then

Re: [CM] emacs support for s7 repl?

2021-09-26 Thread Gregg Reynolds
On Sun, Sep 26, 2021 at 2:12 PM 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