> On Mar 8, 2016, at 5:11 AM, Urs Liska <u...@openlilylib.org> wrote: > > A) > > * Convert XML to Scheme expressions and write them out (to a file or a > pipe) > Note: The given XML format is already handled through Python, so > that should be used here as well > * Feed the result into LilyPond through the -e command line option > > > B) > > * Read the XML to Scheme-XML using the sxml module (from Guile 2) > * Use Scheme to convert that S-XML to LilyPond music expressions > > > AFAICS A) has two major advantages: > - we don't need sxml > - the hard stuff can be developed and maintained in Python, which means: > more potential developers > > B) also has its advantages: > - we don't need to care about serializing Scheme expressions, i.e. we > don't need to think about writing Scheme syntax > - we don't need a separate intermediate representation > - maybe this may prove more robust against syntax changes (?)
FWIW, and if you’re still looking for feedback on this... B seems to make more sense to me. -Paul _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel