I forgot to send this to the list the first time. ---------- Forwarded message ---------- From: David Feuer <[EMAIL PROTECTED]> Date: Oct 1, 2006 1:03 PM Subject: Re: Scheme State To: Ralph Little <[EMAIL PROTECTED]>
On 9/29/06, Ralph Little <[EMAIL PROTECTED]> wrote:
I could set aside some globally scoped structure that is not passed around the various calls while I'm parsing the tree but this feels wrong.
As a hint to what I'm up to, I'm parsing through bars of music and maintaining a list of accidentals since the beginning of the bar so that I can implement the "default" accidental style.
Any help would be really appreciated!
It's a bit hard to say without seeing your code, but if you only keep the list of accidentals that have appeared since the beginning of the bar, why would this structure need to be global? Probably a better question, though, is why you're trying to deal with this in your parser at all. David Feuer Not a Lilypond guru _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel