Re: Guile REPL Server

2022-05-19 Thread Hendursaga
> Note that this is not coming directly from LilyPond, scheme-sandbox doesn't > need (ice-9 readline). From the call of (load-user-init), do you maybe load > that module as part of your ~/.guile ? That is correct, however, I was going to try and load that extension manually anyways, see

Re: Guile REPL Server

2022-05-19 Thread Jonas Hahnfeld via LilyPond user discussion
On Thu, 2022-05-19 at 13:28 +0200, David Kastrup wrote: > Jonas Hahnfeld via LilyPond user discussion > writes: > > On Tue, 2022-05-17 at 23:28 +0200, David Kastrup wrote: > > > Personally, I'd rather have it. The tiny fraction that will want > > > readline support will want it for running

Re: Guile REPL Server

2022-05-19 Thread David Kastrup
Jonas Hahnfeld via LilyPond user discussion writes: > On Tue, 2022-05-17 at 23:28 +0200, David Kastrup wrote: >> Jonas Hahnfeld via LilyPond user discussion >> writes: >> >> > On Tue, 2022-05-17 at 09:57 +0200, Jean Abou Samra wrote: >> > > Le 17/05/2022 à 00:29, Hendursaga a écrit : >> > > >

Re: Guile REPL Server

2022-05-19 Thread Omid Mo'menzadeh
Honestly, I didn't know that the readline support existed and used `rlwrap lilypond scheme-sandbox` for editing and history support in the REPL. On Thu, May 19, 2022 at 1:39 PM David Kastrup wrote: > Jean Abou Samra writes: > > > Le 19/05/2022 à 09:36, Jonas Hahnfeld a écrit : > >> What does

Re: Guile REPL Server

2022-05-19 Thread David Kastrup
Jean Abou Samra writes: > Le 19/05/2022 à 09:36, Jonas Hahnfeld a écrit : >> What does "nicer editing" mean here? > > > Standard shell editing features: repeating previous command with arrows, > and autocompletion. That's not half of it. Without readline, no editing other than backspacing (and

Re: Guile REPL Server

2022-05-19 Thread Jonas Hahnfeld via LilyPond user discussion
On Thu, 2022-05-19 at 09:39 +0200, Jean Abou Samra wrote: > Le 19/05/2022 à 09:28, Jonas Hahnfeld via LilyPond user discussion a écrit : > > As you can see, the REPL itself works just fine. What does not work is > > the REPL server because we disable all networking functionality in our > > Guile

Re: Guile REPL Server

2022-05-19 Thread Jonas Hahnfeld via LilyPond user discussion
On Thu, 2022-05-19 at 09:38 +0200, Jean Abou Samra wrote: > Le 19/05/2022 à 09:36, Jonas Hahnfeld a écrit : > > What does "nicer editing" mean here? > > Standard shell editing features: repeating previous command with arrows, > and autocompletion. In that case: > If that is an optional feature

Re: Guile REPL Server

2022-05-19 Thread Jean Abou Samra
Le 19/05/2022 à 09:28, Jonas Hahnfeld via LilyPond user discussion a écrit : As you can see, the REPL itself works just fine. What does not work is the REPL server because we disable all networking functionality in our Guile build. Here I'm even more hesitant to change direction because

Re: Guile REPL Server

2022-05-19 Thread Jean Abou Samra
Le 19/05/2022 à 09:36, Jonas Hahnfeld a écrit : What does "nicer editing" mean here? Standard shell editing features: repeating previous command with arrows, and autocompletion.

Re: Guile REPL Server

2022-05-19 Thread Jonas Hahnfeld via LilyPond user discussion
On Tue, 2022-05-17 at 23:28 +0200, David Kastrup wrote: > Jonas Hahnfeld via LilyPond user discussion > writes: > > > On Tue, 2022-05-17 at 09:57 +0200, Jean Abou Samra wrote: > > > Le 17/05/2022 à 00:29, Hendursaga a écrit : > > > > I'm trying to start a REPL server[1] inside LilyPond's Guile >

Re: Guile REPL Server

2022-05-19 Thread Jonas Hahnfeld via LilyPond user discussion
Hi, coming back to the start of this thread: On Mon, 2022-05-16 at 18:29 -0400, Hendursaga wrote: > Hello LilyPond users! > > I'm trying to start a REPL server[1] inside LilyPond's Guile interpreter, but > I can't get it to even load readline support. Note that I am running the > precompiled

Re: Guile REPL Server

2022-05-17 Thread Hendursaga
> Yes, it is an additional nuisance for building. I think the strategic value > of it would offset that. I concur with David, although I'm not sure how much help I can be updating the build scripts. I personally would consider it low to medium priority, though I'm not sure how you maintainers

Re: Guile REPL Server

2022-05-17 Thread David Kastrup
Jonas Hahnfeld via LilyPond user discussion writes: > On Tue, 2022-05-17 at 09:57 +0200, Jean Abou Samra wrote: >> Le 17/05/2022 à 00:29, Hendursaga a écrit : >> > I'm trying to start a REPL server[1] inside LilyPond's Guile >> interpreter, but I can't get it to even load readline support. >>

Re: Guile REPL Server

2022-05-17 Thread Jonas Hahnfeld via LilyPond user discussion
On Tue, 2022-05-17 at 09:57 +0200, Jean Abou Samra wrote: > Le 17/05/2022 à 00:29, Hendursaga a écrit : > > I'm trying to start a REPL server[1] inside LilyPond's Guile interpreter, > > but I can't get it to even load readline support. > > Readline support is an optional feature in Guile. It

Re: Guile REPL Server

2022-05-17 Thread Jean Abou Samra
Hello Hendursaga, Le 17/05/2022 à 00:29, Hendursaga a écrit : Hello LilyPond users! I'm trying to start a REPL server[1] inside LilyPond's Guile interpreter, but I can't get it to even load readline support. Readline support is an optional feature in Guile. It looks like out new

Guile REPL Server

2022-05-16 Thread Hendursaga
Hello LilyPond users! I'm trying to start a REPL server[1] inside LilyPond's Guile interpreter, but I can't get it to even load readline support. Note that I am running the precompiled Linux unstable release binary, because I want to be able to use Guile 2. ``` $ lilypond scheme-sandbox GNU