lilypond-user
[Top][All Lists]
Advanced

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

Re: Variable names?


From: Christopher R. Maden
Subject: Re: Variable names?
Date: Mon, 19 Nov 2012 14:27:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

On 11/18/2012 05:26 PM, David Kastrup wrote:
At the current point of time, the rule is that "alphabetic" is a-z,
A-Z, and _any_ non-ASCII character.  This is a bit excessive, but
short of a reliable "is a letter" test, this was easiest to
implement.

Getting off-topic for -user, but... Most programming languages that can process Unicode text have class tests that should simplify letter-ness. (The superscript characters ¹²³ etc. do not have this property.) Guile has the char-alphabetic? predicate; see <URL: https://www.gnu.org/software/guile/manual/html_node/Characters.html >, at least as of 2.0.

~Chris
--
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
 “Always remember where you came from, and honor your ancestry,
  But don’t be afraid to defy anyone who would tell you what to be.”
      — Chris Vaughan, “Freedom”
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E



reply via email to

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