[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow digits in identifiers (issue 6493072)
From: |
Trevor Daniels |
Subject: |
Re: Allow digits in identifiers (issue 6493072) |
Date: |
Thu, 6 Sep 2012 21:54:32 +0100 |
David Kastrup wrote Wednesday, September 05, 2012 4:12 PM
> 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"
As this wouldn't break existing scores this looks like a possibility
to me. It's quite a natural extension to use quote marks when a
string contains 'strange' characters.
> 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.
Hm. Might cause lots of %" to be inserted.
Trevor
- Re: Allow digits in identifiers (issue 6493072), (continued)
- Re: Allow digits in identifiers (issue 6493072), k-ohara5a5a, 2012/09/02
- Re: Allow digits in identifiers (issue 6493072), k-ohara5a5a, 2012/09/02
- Re: Allow digits in identifiers (issue 6493072), dak, 2012/09/02
- Re: Allow digits in identifiers (issue 6493072), k-ohara5a5a, 2012/09/03
- Re: Allow digits in identifiers (issue 6493072), dak, 2012/09/03
Re: Allow digits in identifiers (issue 6493072), k-ohara5a5a, 2012/09/03
Re: Allow digits in identifiers (issue 6493072), k-ohara5a5a, 2012/09/05
Re: Allow digits in identifiers (issue 6493072), dak, 2012/09/05
Re: Allow digits in identifiers (issue 6493072), dak, 2012/09/05