Parser Combinator types and functions in Swift.
What's New
2021-05-04T19:49:34Z
- Fixes a bug in the built in
Doubleparser- Previously the fractional portion of floating point numbers was parsed
as aUInt. Unfortunately that mean floating point numbers whose
fractional part had leading zeros were being incorrectly parsed. For
example,1.001was incorrectly parsed as1.1. This change switches
the parsing of the fractional part of a floating point number to be
intermediated by a string.
- Previously the fractional portion of floating point numbers was parsed
- Exposes backtracking
- This shouldn't be strictly necessary, but it may simplify some parsers a little.