Monday, September 17, 2007

Midi Lib

Copperbox revision 72.

Updated the file MidiWrite.hs so that it uses the changes to the the Midi datatypes (these changes should have gone in with yesterday's check-in - revision 71).

Added a demo - DemoTrack.hs - that outputs a scale using MidiWrite.

Sunday, September 16, 2007

Midi Lib

Copperbox revision 71.

Replaced the Midi file library with a new version. The new version has error handling - undoubtedly a big plus. It is still a quite rough at the edges as I'm working out how much to use the combinators from Control.Applicative and how much to use my own combinators.

Sunday, August 12, 2007

C Front End

(aka Frown: c2hs parser)

Copperbox revision 70.

The declaration printer (CDeclr) wasn't printing qualifiers for array declarations, it now does. I've also removed the previous pretty-print combinator libraries as they are no longer used.

Saturday, August 11, 2007

Frown: c2hs parser

Copperbox revision 69.

Phew! The new pretty printer is now working properly, so I've update the C printer to use it. There is still quite a bit of work to do on the both parts, but I think I am generally happy with both of them.

Thursday, August 9, 2007

Frown: c2hs parser

Copperbox revision 68.

I have added another `empty biased` pretty printer - this one is based on Control.Applicative and is very much a work-in-progress.

Last weekend, I attempted to add layout styles to the C pretty printer using the monadic pretty printer. However the monadic interface wasn't as usable as I had imagined; the new applicative version will hopefully overcome some of its predecessors shortcomings.

Sunday, July 22, 2007

Frown: c2hs parser

Copperbox revision 67.

Added a reader monad interface to the pretty printer as per Language.Haskell.Pretty.

This will allow the pretty printer to have different indent and bracing styles.

Saturday, July 21, 2007

Frown: c2hs parser

Copperbox revision 66.

Cosmetic updates to the pretty printers again. But I wanted to get a working version committed now as the next step is to try a reader monad version that can handle indent preferences, etc.

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.