Releases: j-mie6/gigaparsec
Gigaparsec 0.3.0.0
What's Changed
- Accept pattern synonyms when deriving constructors by @danieljtrowbridge in #33
- Feat!: add line number information to
lineInfo
by @j-mie6 in #35 - Feat!: make it clearer that the
ErrorBuilder
is for building, and not formatting by @j-mie6 in #36 - Refactor: Remove RT from internals by @j-mie6 in #37
- Refactor: Registers to State by @j-mie6 in #38
New Contributors
- @danieljtrowbridge made their first contribution in #33
Full Changelog: v0.2.5.1...v0.3.0.0
Gigaparsec 0.2.5.1
What's Changed
Full Changelog: v0.2.5.0...v0.2.5.1
Gigaparsec 0.2.5.0
This release adds the Text.Gigaparsec.Errors.TokenExtractors
module, which is used to provide recipes for implementing the ErrorBuilder
's unexpectedToken
method. Of these, the LexToken
extractor is a powerful way of fine-tuning the unexpected clauses, as if a lexing pass had been performed. See https://j-mie6.github.io/parsley/latest/api-guide/errors/tokenextractors/ for more information.
Full Changelog: v0.2.4.1...v0.2.5.0
Gigaparsec 0.2.4.1
Fixes #29, which results from over-strictly evaluating a knot-tie. The knot has been removed to prevent this happening accidentally again.
Full Changelog: v0.2.4.0...v0.2.4.1
Gigaparsec 0.2.4.0
Added the ability to configure the errors generated by the Lexer
by using mkLexerWithErrorConfig
, and building an appropriate one by overwriting specific fields of defaultErrorConfig
(the constructor is not brought into scope for reasons of forwards compatibility).
What's Changed
Full Changelog: v0.2.3.0...v0.2.4.0
Gigaparsec 0.2.3.0
Added Verified Errors and Preventative Errors support in Text.Gigaparsec.Errors.Patterns
Full Changelog: v0.2.2.3...v0.2.3.0
Gigaparsec 0.2.2.3
This release fixes a bug with markAsToken
that means it is applied in the wrong place, potentially affecting a custom ErrorBuilder
implementation.
Full Changelog: v0.2.2.2...v0.2.2.3
Gigaparsec 0.2.2.2
Optimised the error system, which fixes a few last remaining bugs within the system.
What's Changed
Full Changelog: v0.2.2.1...v0.2.2.2
Gigaparsec 0.2.2.1
Fixes bug in #26, case sensitivity now works correctly.
Full Changelog: v0.2.2.0...v0.2.2.1
Gigaparsec 0.2.2.0
This release introduces more of the error combinator functionality, as well as partial support for the Text.Gigaparsec.Token
functionality (missing support for floating point and combined numbers, currently). Error configuration for Token
is not yet available, but is planned for soon. Also released preliminary support for deriveLiftedConstructors
and deriveDeferredConstructors
in Text.Gigaparsec.Patterns
, which generalises these patterns from "Design Patterns of Parser Combinators" so that they can be generated by Template Haskell: these may be buggy in conjunction with specific GHC versions or combinations of extensions -- please report any bugs to the maintainers.
What's Changed
- Added
manyMap
andsomeMap
combinators by @j-mie6 in #19 - Refactor CanHold(Un)Signed Typeclass Instances by @NathanielB123 in #23
- Added error combinators and
ErrorGen
by @j-mie6 in #24 - Lexer and tokenisation combinator support by @j-mie6 in #20
New Contributors
- @NathanielB123 made their first contribution in #23
Full Changelog: v0.2.1.0...v0.2.2.0