The kangaroo package

[Tags: bsd3, library]

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.

Changelog:

0.1.0 First version


Properties

Versions0.1.0, 0.2.0, 0.3.0, 0.4.0
Dependenciesarray (>=0.3.0.0 && <0.4), base (<5)
LicenseBSD3
CopyrightStephen Tetley <stephen.tetley@gmail.com>
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Stabilityhalf baked
CategoryParsing
Home pagehttp://code.google.com/p/copperbox/
Upload dateWed Dec 23 11:50:28 UTC 2009
Uploaded byStephenTetley
Downloads170 total (15 in last 30 days)

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees