lilypond-devel
[Top][All Lists]
Advanced

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

Re: Instanciable scheme engraver (issue216066)


From: Nicolas Sceaux
Subject: Re: Instanciable scheme engraver (issue216066)
Date: Sun, 28 Feb 2010 16:48:34 +0100

Le 21 févr. 2010 à 15:11, Han-Wen Nienhuys a écrit :

> On Sun, Feb 21, 2010 at 7:10 AM,  <address@hidden> 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)))
                     ...

nicolas





reply via email to

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