Saturday, June 21, 2008

Bala

Copperbox revision 149.

Tentative work on the SymLilyPond parser - enough to parse pitch with some attributes (accidental, octave spec).

Unlike the pretty printer which is open to adding new elements, I think the parser will have to be 'knot-tied'. For example, the parser pitchA (pitch with attributes) explicitly lists which attributes it will parse and their order:

pitchA = pPitch >>= pAccidental >>= pMicroTone >>= pOctaveSpec

Naturally, all attributes are optional - but they still need to be enumerated in one place in advance.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.