This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
ExParsec 0.2.0
Pre-release
Pre-release
This is another alpha-quality release of ExParsec, adding various bug fixes, enhancements, and changes.
Fixes:
- Fix and update some obsolete documentation comments.
- Avoid swallowing user
throw
s in certain base combinators.
Enhancements:
- Add 'one or more' versions of
many
andskip_many
-many1
andskip_many1
, respectively. - Add a
sep_by
combinator, and a 'one or more' version,sep_by1
. - Add a
bytes
binary parser as a byte-level analogue tobits
.
Changes:
- Merge all integer binary parsers into
sint
/uint
parsers that accept anendianness
argument (:le
or:be
) and ann
argument indicating number of bits. - Merge
float32
andfloat64
binary parsers into onefloat
parser that accepts ann
argument that can be32
or64
.