lilypond-devel
[Top][All Lists]

## Re: Where to put new Scheme engravers?

 From: James Subject: Re: Where to put new Scheme engravers? Date: Sun, 28 Sep 2014 10:47:13 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

On 28/09/14 10:44, David Kastrup wrote:
>
>> Hi devs,
>>
>> sorry for the uninformed question, but I don't seem to be able to find
>> an answer in the CG or in the source directory.
>>
>> If I have a new Scheme engraver that I'd like to suggest to be added,
>> where would I look for a place to add it to?
>> Is there a file (or a set of files grouped by topic) where I should
>> insert it or can I add a dedicated file (in which folder)?
>
> There is no really good place and part of the reason is that Scheme
> engravers are second class citizens not traced in the Internals Guide.
> Scheme engravers would need to get additional information, like the
> _name_ of the engraver and its read, written and modified properties in
> order to have that.

So what, conceptually, is the difference between a 'Scheme Engraver' and
a 'Snippet' or perhaps a 'command' (the ones that are like \tweak or
\partial etc.) that appear in the *.scm file and a 'Scheme Engraver'?

James