lilypond-devel
[Top][All Lists]
Advanced

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

Re: Allow digits in identifiers (issue 6493072)


From: Werner LEMBERG
Subject: Re: Allow digits in identifiers (issue 6493072)
Date: Wed, 05 Sep 2012 18:16:55 +0200 (CEST)

> Here is another "cure" for that request: if we can get used to
> writing
>
>   "violin1" = { ... }
>
> for defining a name with numbers in it, it would be an obvious
> syntax extension to allow its invocation as
>
>   \"violin1"

Actually, I think this is quite nice.

> A somewhat non-obvious disadvantage is that this is likely to
> confuse the syntax highlighting of editors used to C-like strings,
> since \" is not a string delimiter at least inside of C strings, and
> so it might not be considered a string starter.

IMHO, this is not something which should influence our decision.  BTW,
similar problems exist with groff which has \x, \(xy, and \[xyz] to
access one-, two-, and multi-character entities.


    Werner



reply via email to

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