[Top][All Lists]

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

Re: Rewrite the vertical layout of staves/systems.

From: Han-Wen Nienhuys
Subject: Re: Rewrite the vertical layout of staves/systems.
Date: Mon, 27 Jul 2009 18:32:51 -0300

On Mon, Jul 27, 2009 at 3:51 PM, Joe Neeman<address@hidden> wrote:
> On Mon, 2009-07-27 at 05:42 +0000, address@hidden wrote:
>> I don't really understand the code from this patchset, but I just have
>> one quick comment.

>> File lily/ (right):
>> Line 21: {
>> Are engravers allowed to inherit code from other classes?
> Good question. In this forbidden, Han-Wen?

An engraver is a really a small finite state machine that acts on
receiving music events and grobs.  You have to plug the notation rules
as C++ in the right virtual methods, and C++ inheritance (typically:
overriding acknowledge_xxx or process_music in derived classes) does
not fit well with how commonality in rules should be encoded. At least
that has been my experience; it's not strictly forbidden, though.

Han-Wen Nienhuys - address@hidden -

reply via email to

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