|
From: | Han-Wen Nienhuys |
Subject: | Re: music function refactoring |
Date: | Thu, 02 Feb 2006 02:40:15 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Erik Sandberg wrote:
Yes, just represent those commands as music functions internally. E.g., \transpose creates a MusicFunction expression, with a list of two pitches and one Music as its 'elements (or 'arguments, I haven't decided yet), and 'to-music-callback is set to ly:music-transpose (or rather, to a wrapper around that function).
just for the record, I think that this will be post 2.8 stuff. I have some plans for reorganizing the input format, and this would also fit nicely for the 3.0 release.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |