Parser Combinator types and functions in Swift

What's New

  • Fixes a bug in the built in Double parser
    • Previously the fractional portion of floating point numbers was parsed
      as a UInt. Unfortunately that mean floating point numbers whose
      fractional part had leading zeros were being incorrectly parsed. For
      example, 1.001 was incorrectly parsed as 1.1. This change switches
      the parsing of the fractional part of a floating point number to be
      intermediated by a string.
  • Exposes backtracking
    • This shouldn't be strictly necessary, but it may simplify some parsers a little.

Parser Combinator

Parser Combinator types and functions in Swift.


  • Swift Tools 4.0.0
View More Packages from this Author


  • None
Last updated: Mon Aug 15 2022 15:18:47 GMT-0500 (GMT-05:00)