Friday, October 10, 2008

HNotate

Copperbox revision 269.

Renamed the NoteList datatypes.

HNotate

Copperbox revision 268.

A new revision after some time...

I've been trying to simplify the translation from EventList (the external format) to NoteList (the internal format) using recursion schemes. Well, unfortunately the new version isn't much simpler but I think its more robust - I spotted that the old version wouldn't handle note lengths greater than a bar length very well.

Saturday, September 27, 2008

HNotate

Copperbox revision 267.

Some tidying up - I've moved the enharmonic spelling functions out of the pitch module and deleted the 'builder' modules for LilyPond and Abc.

The two builder modules were probably bigger than the rest of HNotate - I'm almost sad to see them go as they had so much work put into them. I probably had to do all that work to come up with the ah-ha that showed me they were unnecessary, but it would have been nice to have gone down a fruitful path from the beginning.

Friday, September 26, 2008

HNotate

Copperbox revision 266.

I've added the first pages of a manual for HNotate - naturally it is written in literate Haskell, lhs2TeX is main design inspiration for HNotate.

HNotate

Copperbox revision 265.

I've reinstated the debugging code that prints the score after the first translation step (it was disabled in the last commit).

Thursday, September 25, 2008

HNotate

Copperbox revision 264.

A major update - I've now made both the Abc and LilyPond parsers do the 'island parsing' in a preprocessing step. This has made them much simpler - and both can use the exprView parser which parses the shape of a post-processed view .

Also the evaluation of a post-processed view has been simplified in OutputMain. Post-processed LilyPond and Abc are both represented as a very simple datatype Expr which has a handy use of higher-order abstract syntax to modify the environment as Expr is being traversed.

Wednesday, September 24, 2008

HNotate

Copperbox revision 263.

Added a preprocessor to handle the island parsing of LilyPond files (Abc to do).

I haven't replaced the original parser yet as it has got rather tangled in my local workspace.

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.