lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pygment regex question


From: Werner LEMBERG
Subject: Re: pygment regex question
Date: Fri, 25 Nov 2022 18:32:07 +0000 (UTC)

>> The thing is that the regular expressions match both LilyPond and
>> Scheme syntax.
>
> Uh? No they don’t, look at SchemeLexer and its horrendous regexes to
> parse numbers (also written by yours truly).

Thanks for the correction; this makes adjusting the regular
expressions simpler :-)

> However,
>
> \musicFunction 4
>
> could be an integer or a duration, and
>
> \musicFunction -4
>
> could be an integer or a fingering, depending on how musicFunction
> is defined, [...]

Thanks, I didn't think of music functions.


  Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]