Jaime T <enopa...@gmail.com> writes:

> http://lilypond.org/doc/v2.19/Documentation/notation/file-structure
> (NR, section 3.1.5 "File structure") says:
>
> ...A file containing only "{ c'4 d' e'2 }" will be translated into:
>
> \book {
>   \score {
>     \new Staff {
>       \new Voice {
>         { c'4 d' e'2 }
>       }
>     }
>     \layout { }
>   }
>   \paper { }
>   \header { }
> }
>
> Is there any way I can get lilypond to output and show me the final
> version of my input i.e. *after* lilypond has included all these
> necessary implicit additions to my source input?

No.  LilyPond does not actually add anything to the input.  It just
processes partial forms of input differently from complete forms so that
it has the equivalent effect of some comparatively complete form.

Of course, you can try to write up a replacement for all of LilyPond's
processing that does output the equivalent input for all the available
options of arranging input.

But it does not gain you any insights into LilyPond's operation because
LilyPond does not actually work in that way.

> I'd love to be able to see exactly what goes into the engraver's
> front-end (and I'm sure that it's often *not* the same as what is in
> my .ly "source"!)

Well, LilyPond's idea of an "engraver" is a lot different from yours,
apparently, so it's anyone's guess what you even mean by "the engraver's
front-end".

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to