- Added more documentation
- Added lexical combinator TH generators
- Generalised
deriveLiftedConstructors/deriveDeferredConstructorsfunctionality to also work with pattern synonyms andforalls in more places. - Added line numbering for the line information in the
ErrorBuilder. - Renamed the
formatmethod of theErrorBuildertobuild. - Removed
RTfrom the library's internals, it is now part of thertpackage. - Renamed
RegisterstoState, and made some combinators more consistent withparsley:put->set,puts->sets,local->updateDuring,localWith->setDuring
- Added
forcombinators.
- Fixed bug where hints can be revived by the
hidecombinator.
- 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
ErrorConfigand 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
markAsTokendoesn't apply at the correct offsets.
- Optimised the error system using
DefuncErrorandDefuncHints. - Fixed bugs with amending and token merging.
- Fixed bug where case sensitive keywords where parsed insensitively and vice-versa.
- Added
manyMapandsomeMapcombinators. - Added
filterSandmapMaybeScombinators as well asErrorGenand more general combinators. - Added
Text.Gigaparsec.Positionmodule. - Added
Text.Gigaparsec.Tokenand associated functionality. - Added
Text.Gigaparsec.Patternsmodule, which is currently heavily experimental.
- Added
Text.Gigaparsec.Debug, which provides debugging capabilities. - Added
parseFromFilefor quick parsing from files. - Added additional documentation.
- Added error system.
parsenow has a type parameter,parse @Stringrestores old behaviour.- for convenience
parseReplwill print a parse to the terminal with theStringerror messages.
- First version. Released on an unsuspecting world.