lilypond-devel
[Top][All Lists]
Advanced

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

How parser passes music expression and output definition to iterator?


From: Joao E. Pereira Jr
Subject: How parser passes music expression and output definition to iterator?
Date: Wed, 14 May 2014 15:34:08 -0300

Hi,

lilypond-main in lily.scm leads to parser creation and it takes init and
main input files. At some point this parser is cloned, so a copy process
many lilypond initializing declarations, and the other copy take care of
main input. I'm guessing initial declarations are processed first case main
input should depend on it.

When main input parser finishes, music expression is stored somewhere using
modules (I would appreciate some toughs in this area). Remaining parser
resumes execution and I think the earlier music expression now is passed to
ly_make_book as toplevel-scores (am I right?). As I see the picture, from
this moment on I can consider code moved from parsing to iterating.



-- 
João E. Pereira Jr


reply via email to

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