[Top][All Lists]

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

Re: Going from XML to (make-sequential-music)

From: Paul Morris
Subject: Re: Going from XML to (make-sequential-music)
Date: Thu, 31 Mar 2016 23:17:02 -0400

> On Mar 8, 2016, at 5:11 AM, Urs Liska <address@hidden> 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.  


reply via email to

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