Tuesday, August 31, 2010

wumpus-core

Copperbox revision 1658.

I've updated the user guide in Wumpus-Core.

wumpus-core

Copperbox revision 1657.

I've added the Haddock docs back in that were in Wumpus-Core before the Fresh merge, but got omitted during it.

wumpus-fresh / wumpus-core

Copperbox revision 1656.

I've moved the new code from Wumpus-Fresh into Wumpus-Core. The Wumpus-Fresh fork is now "done" and it has been manually merged back into Wumpus-Core.

Quite a bit of documentation has temporarily vanished as documenting Fresh wasn't a big concern, I'll re-introduce the all the documentation that remains relevant in the next commits. All the examples have been updated to compile with the changed Core modules.

wumpus-fresh

Copperbox revision 1655.

I've improved the SVG output so it now has good nesting and (hopefully) no extraneous blank lines.

The PostScript output has some extraneous blank lines due to delta changes with the graphics state (which return empty if the is no delta), however I'm not going to worry about this.

wumpus-fresh

Copperbox revision 1654.

I've improved the newline handling in the FormatCombinators module so nesting, for printing SVG, works better. Next I'll look at tidying up the SVGDoc combinators - some of the functions take lists of Doc, it would seem better if they take a single already concatenated Doc.

wumpus-fresh

Copperbox revision 1653.

I've removed the YRange datatype and code pertaining to the previous "bad" SVG page translation scheme.

wumpus-fresh

Copperbox revision 1652.

I've implemented the SVG "trivial transformation" for Wumpus-Fresh.

The trivial transformation scales the initial picture by (1, -1) to get the origin at the top-left, then 'undoes' this transformation for certain primitives (i.e. text labels) that would otherwise be printed upside down. This is the transformation that all the released versions of Wumpus-Core use.

I've gotten bogged down trying to replace this transformation with an optimized version that does more work in the code generation and puts fewer matrix transformations in the generated SVG. Wumpus-Fresh is a fork of Wumpus-Core solely so I can make this transformation easier (by reifying affine transformations as syntax rather than matrix operations, so the are more easily reversible), but after a week on Wumpus-Fresh I really don't know how this transformation should work. The sensible option seems to be polish up Fresh as it stands (as the code is generally better than Core), and merge it back into Core.

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.