lilypond-devel
[Top][All Lists]
Advanced

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

Re: [GLISS] turn xxx.yyy into ("xxx" "yyy")


From: David Nalesnik
Subject: Re: [GLISS] turn xxx.yyy into ("xxx" "yyy")
Date: Wed, 12 Sep 2012 06:58:43 -0500

On Wed, Sep 12, 2012 at 3:38 AM, David Kastrup <address@hidden> wrote:

[...]

>
> Basically, if a music function wants to provide a shorthand for an
> override, not being able to specify an optional context is a nuisance.
> I currently have just the same problem writing a \hide function that is
> supposed to be a shortcut for \override ??? #'stencil = ##f .
>
> Using periods to build a string list seems reasonably straightforward to
> me.  It would happen in the parser rather than the lexer, so spaces are
> allowed and it should not cause conflicts with chord modifiers and other
> awkward stuff.
>
> What do you think?
>

This would be a welcome change.  Besides eliminating the need for
string manipulation to get at the name of the context, this would
bring the syntax of \alterBroken and \overrideProperty more in line
with \override (though of course there's still the matter of the =
sign).

-David



reply via email to

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