- Generalised
deriveLiftedConstructors
/deriveDeferredConstructors
functionality to also work with pattern synonyms andforall
s in more places. - Added line numbering for the line information in the
ErrorBuilder
. - Renamed the
format
method of theErrorBuilder
tobuild
. - Removed
RT
from the library's internals, it is now part of thert
package. - Renamed
Registers
toState
, and made some combinators more consistent withparsley
:put
->set
,puts
->sets
,local
->updateDuring
,localWith
->setDuring
- Added
for
combinators.
- Fixed bug where hints can be revived by the
hide
combinator.
- Supported
Text.Gigaparsec.Errors.TokenExtractors
, which allows for recipes for token extraction during error message creation.
- Fixed infinite loop in lexer arising from forcing a knot-tie, the knot has been massaged out.
- Added
ErrorConfig
and related types, along withmkLexerWithErrorConfig
, to now allow for custom lexing errors.
- Added Verified Errors and Preventative Errors in
Text.Gigaparsec.Errors.Patterns
.
- Fixed bug where
markAsToken
doesn't apply at the correct offsets.
- Optimised the error system using
DefuncError
andDefuncHints
. - Fixed bugs with amending and token merging.
- Fixed bug where case sensitive keywords where parsed insensitively and vice-versa.
- Added
manyMap
andsomeMap
combinators. - Added
filterS
andmapMaybeS
combinators as well asErrorGen
and more general combinators. - Added
Text.Gigaparsec.Position
module. - Added
Text.Gigaparsec.Token
and associated functionality. - Added
Text.Gigaparsec.Patterns
module, which is currently heavily experimental.
- Added
Text.Gigaparsec.Debug
, which provides debugging capabilities. - Added
parseFromFile
for quick parsing from files. - Added additional documentation.
- Added error system.
parse
now has a type parameter,parse @String
restores old behaviour.- for convenience
parseRepl
will print a parse to the terminal with theString
error messages.
- First version. Released on an unsuspecting world.