[Top][All Lists]

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

Fwd: Scheme State

From: David Feuer
Subject: Fwd: Scheme State
Date: Sun, 1 Oct 2006 13:07:03 -0400

I forgot to send this to the list the first time.

---------- Forwarded message ----------
From: David Feuer <address@hidden>
Date: Oct 1, 2006 1:03 PM
Subject: Re: Scheme State
To: Ralph Little <address@hidden>

On 9/29/06, Ralph Little <address@hidden> 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

reply via email to

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