[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix ly:parser-parse-file in an ly file (issue1345041)
From: |
Nicolas Sceaux |
Subject: |
Re: fix ly:parser-parse-file in an ly file (issue1345041) |
Date: |
Tue, 8 Jun 2010 21:08:36 +0200 |
Le 7 juin 2010 à 21:35, address@hidden a écrit :
> On 2010/06/07 19:17:27, Neil Puttock wrote:
>> On 2010/06/07 13:59:45, Reinhold wrote:
>> > However, I fail to see where this is actually used...
>
>> It's called whenever Guile encounters the character sequence #{ for
> parsing
>> LilyPond expressions inside scheme (i.e., inside music functions).
>
> Ah, thanks for enlightening me! In this case, I suppose we really want a
> copy of the parser, since we make available the function's variables as
> $varname...
Not exactly: when $varname is encountered, it is replaced by a generated
identifier (lilyvartmp + some characters: a, b, c, ..., aa, ab, etc)