Skip to content
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
Compare
Choose a tag to compare
@alexrp alexrp released this 22 Aug 01:47
· 16 commits to master since this 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 throws in certain base combinators.

Enhancements:

  • Add 'one or more' versions of many and skip_many - many1 and skip_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 to bits.

Changes:

  • Merge all integer binary parsers into sint/uint parsers that accept an endianness argument (:le or :be) and an n argument indicating number of bits.
  • Merge float32 and float64 binary parsers into one float parser that accepts an n argument that can be 32 or 64.