
30 Jan
2011
30 Jan
'11
10:03 a.m.
Nanoparsec is currently simply a port of attoparsec on the ListLike (the abstraction of lists used by iteratee). It allows to achive in parsing a near-attoparsec levels of speed (benchmarks from attoparsec library shown a 0.450 ± 0.028 for attoparsec, 0.479 ± 0.043 for nanoparsec and 1.532 ± 0.084 for parsec 3) combining the flexibility of stream of parsec 3 with the iterative approach and speed of attoparsec. Changes since version 0.1: - Lowered conditions on base to allow using GHC 6.12.x (haven't been tested) - Added IsString instance and (.*>) (<*.) helper functions Regards