lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Octavation syntax consistency (was: grand predefined-com


From: Han-Wen Nienhuys
Subject: Re: [PATCH] Re: Octavation syntax consistency (was: grand predefined-command thread)
Date: Mon, 30 Jun 2008 12:29:24 +0200

On Sat, Jun 28, 2008 at 7:36 PM, Valentin Villenave
<address@hidden> wrote:

>> Attached is a patch, which adds this music function to LilyPond and
>> musicxml2ly, together with a conversion rule, docs changes (I don't know
>> French, so please check if the text there needs to be changed, too!), updated
>> regression tests, etc.
>
> Its just great. Indeed, a c++ parser implementation would be much
> better (such as what we have e.g. for \tempo). But a music-function
> will do as well.

>From an engineering point of view, adding various syntactic-sugar
hacks to the parser is much worse. The music function syntax may not
be as short as possible, but it is consistent, and does not cause
difficult to resolve syntactic conflicts for extensions.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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