Hi all,
is there a way to hook into the compilation process that allows me to do
something when all parsing has been done?
Concretely I want to use a Scheme function to collect information during
the parsing (something like a log) and want to output this in sorted
form to an external file.
I see two ways to accompish this:
a) write the log to an internal structure, then at the end sort it and
write it to the file
b) write it to the file immediately and call an external script at the end.
Both approaches (I strongly prefer a) because I'd prefer not to rely on
an external script) would need a trigger (or listener?) that calls a
function when everything has been parsed (or when the whole compilation
process has been finished).
b) could be worked around by wrapping the lilypond call itself into a
script, but as said I'd prefer a) anyway.
Any ideas?
Thanks
Urs
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user