The latest version of kangaroo is 0.4.0-0.

kangaroo

Version 0.2.0 revision 0 uploaded by StephenTetley.

Package meta

Synopsis
Binary parsing with random access.
Description

Binary parsing with random access. The target file to be parsed is loaded into memory at the start (represented as an IOUArray Int Word8). Parsing proceeds by moving a cursor around, the array is left intact. This allows _jumping_ inside the file and contrasts with other parser combinators that progress via consuming input.

* Caveat * - the above of course means that the target file is obliged to be small enough to fit into memory.

** MAJOR CAVEAT ** - kangaroo is somewhat half-baked at the moment - the parsing machinery seems good but the combinators and primitive parsers need more work. I've only released it on Hackage because I'm now using it with Hurdle which was already on Hackage.

Currently kangaroo is twinned with its own library of formatting combinators, at some point this is likely to be put into its own package

Changelog:

  1. 2.0 Changes to ParseMonad - parsing within a region simplified, temporarily added JoinPrint.

  2. 1.0 First version.

Author
n/a
Bug reports
n/a
Category
Parsing
Copyright
Stephen Tetley <stephen.tetley@gmail.com>
Homepage
http://code.google.com/p/copperbox/
Maintainer
Stephen Tetley <stephen.tetley@gmail.com>
Package URL
n/a
Stability
half baked

Components