Skip to content

Releases: lemaetech/reparse

3.1.0

14 Jul 19:58
Compare
Choose a tag to compare

CHANGES:

  • Add unsafe_take_cstruct_exact and unsafe_take_cstruct_ne parsers.
  • PARSER.parse function now takes ?pos parameter and returns pos along with the parsed value. This allows creating pull based parsers.
  • Expose Promise module.

3.0.1

30 Jun 13:53
Compare
Choose a tag to compare

CHANGES:

  • Fix take_while

3.0.0

23 Jun 20:37
0c91626
Compare
Choose a tag to compare

CHANGES:

  • Overhaul parser implementation - use functor based implementation. Introduce, Make_buffered_input, Make_unbuffered_input and Make functors.
  • Remove reparse-unix package
  • Remove base dependency
  • Facilitate IO promise monads such as Lwt and Async
  • Add package reparse-lwt which defines Lwt_stream.t as one of the input sources.
  • Add package 'reparse-lwt-unix' which defines Lwt_unix.file_descr and Lwt_io.input_channel as parser input sources.

v2.1.0

06 Apr 21:05
Compare
Choose a tag to compare

CHANGES:

This release has backwards incompatible changes.

  • Infix functions are now available in Parser module itself.
  • Add support for let operators - let+, let* ,and+ and and*.
  • bind and map function are now labelled following base library
    dependency convention.
  • Items in all_unit are now unit t rather than _ t following monad
    combinator convention in base library dependency.
  • pure is now deprecated. Use return instead. This is to stay consistent
    with monad conventions in base library dependency.
  • >|= is deprecated. Use >>| instead. This is to stay consistent with monad
    conventions in base library dependency.
  • Removed map4 function.
  • Add support for ppx_let.
  • Deprecate Parser module. Use Reparse instead.

v2.0.0

27 Nov 23:41
Compare
Choose a tag to compare

CHANGES:

  • Rewrite the whole package to use exceptions rather than result type
  • Adds many more parsing combinators
  • Adds comprehensive unit tests
  • Adds comprehensive documentation, host documentation and add links in repo home page
  • Adds abstraction for input source
  • Provides unix file source and string input source
  • Adds separate package reparse-unix for unix file input
  • Adds calc.ml and json.ml in examples.

v1.0.2

30 Jul 22:58
Compare
Choose a tag to compare

CHANGES:

  • Add string_if parser.

v1.0.1

30 Jul 17:44
Compare
Choose a tag to compare

CHANGES:

  • Add sexp_of_error.

v1.0.0

23 Jul 18:05
Compare
Choose a tag to compare

CHANGES:

  • First release.