Skip to content

Releases: j-mie6/gigaparsec

Gigaparsec 0.2.1.0

14 Nov 17:57
eb8dd81
Compare
Choose a tag to compare
Gigaparsec 0.2.1.0 Pre-release
Pre-release

Introduces the Text.Gigaparsec.Debug module, which contains the debug combinator for examining the execution of a parser, as well as parseFromFile for parsing directly from a given file path.

Full Changelog: v0.2.0.0...v0.2.1.0

Gigaparsec 0.2.0.0

10 Nov 18:42
2f6c38e
Compare
Choose a tag to compare
Gigaparsec 0.2.0.0 Pre-release
Pre-release

This release is backwards incompatible with the previous release, and principally introduces the error system for gigaparsec.

Major Changes

  • Result a is now Result e a, and Failure has an argument to the constructor
  • parse now has type forall err a. Parser a -> String -> Result err a; to recover the old definition, use parse @String, which will produce a error message as a String value.

Minor Additions

  • Added more combinators to Text.Gigaparsec.Errors.Combinator, which allow for more interaction with the new error system.
  • Added Text.Gigaparsec.Errors.ErrorBuilder, a typeclass that allows the user to control the shape of the error messages generated by the system, given some structural constraints.
  • Added parseRepl :: Parser a -> String -> IO (), which allows for quick and easy testing of parsers in ghci

What's Changed

  • Test/perf-testing by @j-mie6 in #14
  • refactor!(Internal): used Int instead of bool for the consumed flag by @j-mie6 in #13
  • feat!(Errors): Implement Error System by @j-mie6 in #15

Full Changelog: v0.1.0.0...v0.2.0.0

Gigaparsec 0.1.0.0

17 Oct 20:22
6aed4ea
Compare
Choose a tag to compare
Gigaparsec 0.1.0.0 Pre-release
Pre-release

First alpha release of gigaparsec, with the majority of the base functionality present. Notably, no error messages. Some missing combinators and documentation.

What's Changed

New Contributors

Full Changelog: https://github.com/j-mie6/gigaparsec/commits/v0.1.0.0