Skip to content

Releases: fosskers/parcom

1.3.0

31 May 12:54
54c14e2
Compare
Choose a tag to compare

Added

  • The parcom/xml system.

Changed

  • Improved performance of parcom/json.
  • Improved contextual output in parse failure condition.
  • consume: Yields the offset as a value instead of t.
  • A few more functions have been given lambda caches.

1.2.0

16 May 22:21
73eaae7
Compare
Choose a tag to compare

Added

  • The parcom/toml system.
  • Parser: pure for injecting values as parsers.
  • Utility: pmap for transforming parser successes more directly than fmap.

1.1.0

08 May 21:22
d448d14
Compare
Choose a tag to compare

Added

  • The parcom/datetime system.
  • Parser: any-if.
  • Parser: sneak.
  • Combinator: take-until.

Changed

  • Vastly improved performance. Runtime is ~3x faster and uses 25x less memory.
  • The signalling of parsing success and failure is done through multiple return
    values, not structs. The fundamental signature of parser functions is thus now
    offset -> (value, offset).
  • Contextual information when parsing fails is more accurate.
  • anybut -> any-but

Removed

  • The explicit parser, failure, and input types. This is now managed by
    multiple return values, as described above.

1.0.0

22 Apr 22:10
35a9dc5
Compare
Choose a tag to compare

Initial release, including parcom and parcom/json.