Re: Input syntax question

2019-10-01 Thread foxfanfare
Aaron Hill wrote > Well, I was commenting more on the use of syntactic elements and emoji > within the name. > > I use letters (e.g. ChorusA, ChorusB) and Roman numerals (e.g. StanzaI, > StanzaII) when naming variables, to avoid the need to use actual numbers > that could be confused for durati

Re: Input syntax question

2019-09-30 Thread Aaron Hill
On 2019-09-30 5:18 am, foxfanfare wrote: Aaron Hill wrote Whether it is prudent to do such a thing is another matter. (: That's interesting, because I find very complicated to deal with variables without any digits... especially when composing multiple pieces works. But why would for insta

Re: Input syntax question

2019-09-30 Thread David Kastrup
msk...@ansuz.sooke.bc.ca writes: > On Mon, 30 Sep 2019, David Kastrup wrote: >> The respective lines in lily/lexer.ll read >> >> A[a-zA-Z\200-\377] >> SYMBOL {A}([-_]{A}|{A})* >> COMMAND \\{SYMBOL} > > Interesting that this disagrees with the item from the No

Re: Input syntax question

2019-09-30 Thread mskala
On Mon, 30 Sep 2019, David Kastrup wrote: > The respective lines in lily/lexer.ll read > > A [a-zA-Z\200-\377] > SYMBOL{A}([-_]{A}|{A})* > COMMAND \\{SYMBOL} Interesting that this disagrees with the item from the Notation Reference cited elsewhere in the t

Re: Input syntax question

2019-09-30 Thread David Kastrup
msk...@ansuz.sooke.bc.ca writes: > What characters are allowed in variable names? Cannot find it after a short search. The basic rule is that any combination of upper- or lowercase letters as well as non-ASCII characters (so Unicode characters with a character code larger than 127), with isolate

Re: Input syntax question

2019-09-30 Thread foxfanfare
Aaron Hill wrote > Whether it is prudent to do such a thing is another matter. (: That's interesting, because I find very complicated to deal with variables without any digits... especially when composing multiple pieces works. But why would for instance \"01" not be safe? -- Sent from: http:

Re: Input syntax question

2019-09-29 Thread Vaughan McAlley
On Mon, 30 Sep 2019 at 15:39, David Wright wrote: > Has a LilyPond obfuscation contest ever been held? :) \score #( blah blah) % output of \displayMusic ...would be a promising start Vaughan ___ lilypond-user mailing list lilypond-user@gnu.org https:/

Re: Input syntax question

2019-09-29 Thread David Wright
On Sun 29 Sep 2019 at 21:00:58 (-0400), Freeman Gilmore wrote: > Aaron Hill wrote: > > With quotation marks, you can break a lot of the rules: > > > > > > \version "2.19.83" > > > > "Anything?! { c'4 } 😀" = { c'4 } > > > > { \"Anything?! { c'4 } 😀" } > > > > Then would { \"Anything?! { c'4 }

Re: Input syntax question

2019-09-29 Thread Freeman Gilmore
> > With quotation marks, you can break a lot of the rules: > > > \version "2.19.83" > > "Anything?! { c'4 } 😀" = { c'4 } > > { \"Anything?! { c'4 } 😀" } > Then would { \"Anything?! { c'4 } 😀" } be equivalent to { \{ c'4 } } ? > > Whether it is prudent to do such a thing is another mat

Re: Input syntax question

2019-09-29 Thread mskala
On Mon, 30 Sep 2019, Andrew Bernard wrote: > The grammar is in Appendix A of the Lilypond Contributor's Guide. Thanks. How about the definitions of the terminals, such as STRING and SYMBOL? -- Matthew Skala msk...@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca

Re: Input syntax question

2019-09-29 Thread Andrew Bernard
Hi Matthew, The grammar is in Appendix A of the Lilypond Contributor's Guide. Andrew On 30/9/19 5:15 am, msk...@ansuz.sooke.bc.ca wrote: Is there a formal grammar of the Lilypond language anywhere, other than the source code itself? ___ lilypond-

Re: Input syntax question

2019-09-29 Thread Aaron Hill
On 2019-09-29 12:15 pm, msk...@ansuz.sooke.bc.ca wrote: On Sun, 29 Sep 2019, Thomas Morley wrote: > What characters are allowed in variable names? From NR: "The name of a [LilyPond-]variable should have alphabetic characters only; no numbers, underscores or dashes." Thanks. I had a hard time

Re: Input syntax question

2019-09-29 Thread mskala
On Sun, 29 Sep 2019, Thomas Morley wrote: > > What characters are allowed in variable names? > > From NR: > "The name of a [LilyPond-]variable should have alphabetic characters > only; no numbers, underscores or dashes." Thanks. I had a hard time finding this in the manual. > Note the "yet"!! It

Re: Input syntax question

2019-09-29 Thread Thomas Morley
Am So., 29. Sept. 2019 um 18:57 Uhr schrieb : > > What characters are allowed in variable names? > > -- > Matthew Skala > msk...@ansuz.sooke.bc.ca People before tribes. > https://ansuz.sooke.bc.ca/ From NR: "The name of a [LilyPond-]variable should have alphabetic characters only;

Input syntax question

2019-09-29 Thread mskala
What characters are allowed in variable names? -- Matthew Skala msk...@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypo