Releases: j-mie6/gigaparsec
Releases · j-mie6/gigaparsec
Gigaparsec 0.2.1.0
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
This release is backwards incompatible with the previous release, and principally introduces the error system for gigaparsec
.
Major Changes
Result a
is nowResult e a
, andFailure
has an argument to the constructorparse
now has typeforall err a. Parser a -> String -> Result err a
; to recover the old definition, useparse @String
, which will produce a error message as aString
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 inghci
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
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
- Implement core combinators by @david-davies in #1
- Added missing documentation for
Char
by @j-mie6 in #9 - Fleshed out
Combinator
module by @j-mie6 in #10 - Feat/expr combinators by @j-mie6 in #11
New Contributors
- @david-davies made their first contribution in #1
- @j-mie6 made their first contribution in #9
Full Changelog: https://github.com/j-mie6/gigaparsec/commits/v0.1.0.0