Michael Scheer <[email protected]> writes:

> Hi,
>
> we can leave out a lot of note information and Lilypond will inherit
> it from the prior note.

That is a very hand-wavy way to refer to several rather different
mechanisms for making LilyPut input more convenient.

> But this will not work, it's a bit of a trap:
>
> | c4. d.
>
> I.e., Lilypond doesn't assume "d4."

I think that is a handwave too far.  When you write

| c4. d

then you expect d to have duration 4. already.  Why wouldn't LilyPond
then assume that c4. d. means you want c4. d4.. ?  Given that this
proposal is an utter nightmare for figuring out what the user actually
meant, it doesn't even obey any kind of inner logic.

> I guess it's not possible to make the parser understand this?

> Just curious, thx

You can change the parser to do anything that you can actually rigidly
define.  That does not mean that it is a good idea.  And in this case,
it does not even appear that there is a rigid definition for what you
want done.  That makes it troublesome to figure out how to make LilyPond
interpret your input.  LilyPond is not alone here: it would also be
troublesome to figure out how to make a human interpret your input.

-- 
David Kastrup


Reply via email to