lilypond-user
[Top][All Lists]
Advanced

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

Re: Input syntax question


From: David Kastrup
Subject: Re: Input syntax question
Date: Mon, 30 Sep 2019 14:34:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden 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 isolated - and _ characters allowed inside.

The respective lines in lily/lexer.ll read

A               [a-zA-Z\200-\377]
SYMBOL          {A}([-_]{A}|{A})*
COMMAND         \\{SYMBOL}

-- 
David Kastrup



reply via email to

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