|
From: | Nicolas Sceaux |
Subject: | Re: identifiers with numbers? (was Re: hash/backslash confusion) |
Date: | Tue, 18 Aug 2009 20:57:20 +0200 |
Le 18 août 09 à 06:18, Mark Polesky a écrit :
Wait a second, then why can't we just do something like this: 143 NOTECOMMAND \\({A}|{N}|[-_])+ I'm sure I don't have it quite right, but it's the idea I'm interested in. Then we could do this: "violin1" = { c''4 } "violin2" = { c'4 } \score << \violin1 \violin2 >> I must be missing something, because this looks way too easy. Could this idea work (if coded the right way)?
Why don't you try instead of asking? As Trevor said: before asking random questions about LilyPond input syntax, please learn a few about lexing and parsing. Once you have tackled a few shift/reduce problems, the something you must be missing may become obvious. Nicolas
[Prev in Thread] | Current Thread | [Next in Thread] |