lilypond-devel
[Top][All Lists]
Advanced

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

Re: [GLISS] differentiating pre/post/neutral commands


From: David Kastrup
Subject: Re: [GLISS] differentiating pre/post/neutral commands
Date: Mon, 03 Sep 2012 17:17:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Janek Warchoł <address@hidden> writes:

>>    c\p b              <--- no space before => postfix
>>    c -\p b            <--- explicitely postfix, space is no problem
>>    c \parenthesize b  <--- verb with a space before => prefix function
>>    c \mymusic b       <--- a noun with a space before => a variable
>
> That's nice, but i think it will not help when there are multiple
> events/functions around notes.

With things like

c-\parenthesize-\p

no hard and fast syntax rule will resolve the ambiguity caused by your
"let's stick - before things applying to the previous element" proposal.
Both parenthesizing c as well as parenthesizing \p would be consistent
with that dictum.

Scheme is properly nested, LilyPond is basically agglomerating elements,
and any agglomeration will lead to grouping ambiguities.  Your proposal
of using - selectively just provides two levels for that, but inside of
each level, you get the same underlying ambiguity.

-- 
David Kastrup



reply via email to

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