Skip to content

Releases: fcanas/FFCParserCombinator

1.0.2

04 May 19:49
Compare
Choose a tag to compare
  • 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.

1.0.1

04 May 19:54
Compare
Choose a tag to compare
  • Expose interface for parsing Substring
    • This can be useful for combining Parsers with imperative Swift code rather than through this library's provided operators and functional approach. Remainders after a successful parse will often be a Substring. So if a Parser can accept a Substring, the result of one Parser can be more easily fed into another Parser. This behavior was already supported internally.
  • Expanded documentation

First stable release

18 Mar 00:43
9ca75aa
Compare
Choose a tag to compare
Improve documentation and style

* Remove redundant followed(by:) function
* Improve documentation
* Clean up style
* Spaces after commas
* Colon placement

0.1.0

20 Jan 21:07
0cec769
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
Add a test for flatMap

0.0.6

05 May 16:52
Compare
Choose a tag to compare
0.0.6 Pre-release
Pre-release
  • Generalizes Parser so it isn't limited to String input.