0.6.0 #110
stephencelis
started this conversation in
General
0.6.0
#110
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking change: many parsers that used to explicitly revert changes made to
input
when parsing fails (a process known as "backtracking") no longer do.See our announcement and pull request Move backtracking into
OneOf
#108 for more information about the change and its motivation.OneOf
, which previously did no backtracking whatsoever and trusted other parsers to do the work, is now the main entry point into backtracking behavior.Backtracking has been removed from
Double.parser()
,Parser.filter
,Parser.flatMap
,Many
(with the exception of backtracking a trailing separator),Parser.pipe
,PrefixThrough
, andPrefixUpTo
.Note:
Peek
andNot
preserve their backtracking behavior, as they are designed to never consume any input.Infrastructure: Add tests for
CharacterSet.parse
(thanks @andrewjl).This discussion was created from the release 0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions