This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
Releases: alexrp/ex_parsec
Releases · alexrp/ex_parsec
ExParsec 0.2.1
This is another alpha-quality release of ExParsec, adding only one build fix.
Fixes:
- Fix build error happening when building outside of a Git repository (e.g. when using Hex).
ExParsec 0.2.0
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
.
ExParsec 0.1.0
This is another alpha-quality release of ExParsec, adding various bug fixes and enhancements.
Fixes:
- Fix the
string
implementation to do its work in terms of codepoints. - Fix documentation compilation by adding Earmark as a dependency.
Enhancements:
- Add support for monadic syntax. Refer to
ExParsec.Helpers.defmparser/2
. - Arbitrary input data can now be parsed.
- Add an
ExParsec.Text
module with many useful character parsers. - Add an
ExParsec.Binary
module with many useful binary parsers. - Add a
kind
field toExParsec.Error
. - Add
label
anddescribe
combinators for customizing errors. - Improve some slightly misleading error messages in character parsers.
- Add a
:mode
option touse ExParsec
that can be set toText
(the default) orBinary
.
ExParsec 0.0.0
This is a very early, alpha-quality release of the ExParsec library. The main purpose of this release is to gather feedback on the direction of the API.