Monday, October 20, 2008

HNotate

Copperbox revision 281.

The preprocessing /parsing bugs are now fixed (I think). The examples in Trees.hs work again - the only problem being that grace notes in the LilyPond output have the wrong duration.

Sunday, October 19, 2008

HNotate

Copperbox revision 281.

LilyPond preprocessing should now be fixed and partial bars work again in LilyPond (though the bar count is wrong in the output).

Abc still has problems with partial measures and there is a newly discovered bug where files with two output directives together don't parse.

Saturday, October 18, 2008

HNotate

Copperbox revision 281.

I've put logging around the most important processing functions in HNotate - and added alternative top-level functions outputAbc_debug and outputLilyPond_debug that do the processing with logging on.

The problems I've seen where Trees.hs doesn't produce any output for LilyPond and other examples drop directives (e.g. partial measures) look like they stem from the preprocessing stage producing bad output. To fix...

HNotate

Copperbox revision 280.

I've put the monads from the OutputMain and DebugWriter modules into the new module Monads and turned them into newtypes adding Reader and Writer instances where appropriate.

This should make them more useful to find out why the main evaluation in OutputMain is losing 'partial measure' information.

Thursday, October 16, 2008

HNotate

Copperbox revision 279.

A Pointless Update!

I've tidied up quite a bit of code putting it into the pointfree (pointless) style.

HNotate

Copperbox revision 278.

Work towards fixing the bug where partial measure directives are missed (adding Pretty print instances for debugging, tidying up code), though no fix yet.

I think I will have to change the monad in OutputMain to be a transformer over writer then I can log what's going on, so I've committed this code now as check-pointed.

Wednesday, October 15, 2008

HNotate

Copperbox revision 277.

Support for partial measures (i.e. where the durations of the elements in the first bar don't add up to the time signature) has been reinstated. Unfortunately it seems to have an error and isn't working in the test.

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.