Re: Iterators in Scheme?

2020-08-09 Thread Niols
Hello, On 07/08/2020 00:18, David Kastrup wrote: Niols writes: I have not managed to override the "\repeat" music function. It isn't a music function but a "reserved" word in LilyPond. I know. Yet there is a "repeat" scheme function defined in scm/ly-syntax-constructors.ly that I tried

Re: Iterators in Scheme?

2020-08-06 Thread David Kastrup
Niols writes: > Hello again, [...] > I have not managed to override the "\repeat" music function. It isn't a music function but a "reserved" word in LilyPond. > I suspect there is something I do not understand in the order in which > things are executed in LilyPond. > > I have however found

Re: Iterators in Scheme?

2020-08-06 Thread Niols
Hello again, On 30/07/2020 18:22, Niols wrote: On 29/07/2020 17:28, Jean-Julien Fleck wrote: Le mer. 29 juil. 2020 à 15:44, Niols > a écrit : > What do you want to achieve?     This is actually follow-up research from my side after a previous     e-mail     to

Re: Iterators in Scheme?

2020-07-30 Thread Niols
Hello again, On 29/07/2020 17:28, Jean-Julien Fleck wrote: Le mer. 29 juil. 2020 à 15:44, Niols > a écrit : > What do you want to achieve?     This is actually follow-up research from my side after a previous     e-mail     to this list. I would like to print bar

Re: Iterators in Scheme?

2020-07-29 Thread Niols
Hello Jean-Julien, On 29/07/2020 17:28, Jean-Julien Fleck wrote: Le mer. 29 juil. 2020 à 15:44, Niols > a écrit : > What do you want to achieve? This is actually follow-up research from my side after a previous e-mail to this list. I would like to

Re: Iterators in Scheme?

2020-07-29 Thread Jean-Julien Fleck
Hello Niols, Le mer. 29 juil. 2020 à 15:44, Niols a écrit : > > > What do you want to achieve? > > This is actually follow-up research from my side after a previous e-mail > to this list. I would like to print bar numbers that are "repeat aware", > that is such that if bars 9 to 12 repeat

Re: Iterators in Scheme?

2020-07-29 Thread Niols
Hi David, On 29/07/2020 15:58, David Kastrup wrote: Markup expressions are converted into stencils at a comparatively late point of time. So that means I could create the markups for the several bar numbers while I see them, and these markups would use a variable that contains the bar

Re: Iterators in Scheme?

2020-07-29 Thread David Kastrup
Niols writes: > Hi David, > > On 29/07/2020 15:16, David Kastrup wrote: >> Niols writes: >>> Must I understand that it is not possible to write iterators in Scheme >>> and that they have to be written in C++? >> Yes. > > Thank you; at le

Re: Iterators in Scheme?

2020-07-29 Thread Niols
Hi David, On 29/07/2020 15:16, David Kastrup wrote: Niols writes: Must I understand that it is not possible to write iterators in Scheme and that they have to be written in C++? Yes. Thank you; at least I stop wondering about that. Must I then understand that, if I wanted to write

Re: Iterators in Scheme?

2020-07-29 Thread David Kastrup
expressions and sent the music > events to the appropriate engravers and/or performers.” > > Must I understand that it is not possible to write iterators in Scheme > and that they have to be written in C++? Yes. > Must I then understand that, if I wanted to write iterators for a > pers

Iterators in Scheme?

2020-07-29 Thread Niols
and/or performers.” Must I understand that it is not possible to write iterators in Scheme and that they have to be written in C++? Must I then understand that, if I wanted to write iterators for a personal use, I would have to recompile LilyPond myself? If it is actually possible to write an iterator