On Sun, Feb 28, 2010 at 12:48 PM, Nicolas Sceaux
<[email protected]> wrote:

>> On Sun, Feb 21, 2010 at 7:10 AM,  <[email protected]> wrote:
>>> This is a proof-of-concept for instanciable scheme engravers, with
>>> private instance slots.
>>
>> Looks OK to me; maybe you'd want to pass in the context into the
>> function, so it can do additional switching based on properties?
>
> Isn't the context accessible through the translator argument of
> e.g. the initialize function?
>
>  (initialize . ,(lambda (translator)
>                   (let ((context (ly:translator-context translator)))
>                     ...

Right, but at that point the alist (and the other functions as well)
are already constructed?  Maybe you would want to switch earlier.

-- 
Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to