Skip to content

Releases: Drup/tyre

0.5

24 Jan 17:19
Compare
Choose a tag to compare

CHANGES:

  • Move to dune
  • Avoid deprecate Re functions

0.4.1

17 Aug 15:52
Compare
Choose a tag to compare

CHANGES:

  • Reverts the removal of Re.marks.
    This fixes various bugs in the previous version.

0.4

06 Aug 18:29
Compare
Choose a tag to compare
0.4
  • Move to dune
  • Remove the need for Re.marks.
    This might open the way to alterative backends, such as JS regexs.
    See #1 for details.
  • Use Seq instead of Gen. This is a breaking change.

Version 0.3

17 Apr 14:05
Compare
Choose a tag to compare
  • Significant performance improvements.
  • Fix the behavior of opt (Prefer eating input).
  • Remove conv_fail and allow usual converters to fail with an exception.
  • Add Tyre.all and Tyre.all_gen

Version 0.2

08 Oct 17:16
Compare
Choose a tag to compare
  • Rename <?> to <|>
  • Rename <*> to <&>
  • Add the str and char combinators for constant patterns.
  • Add the blank combinator.
  • Add an Infix module.
  • Tyre.conv is now separated into two combinators, conv which doesn't use
    an option, but is not allowed to fail, and conv_fail which allows failures.
  • The prefix (<*) and suffix (*>) operators now accepts tyregexs on both
    sides. The old behavior can be recovered by combining with Tyre.str.
    This makes prefixstr/suffixstr (**>/<**) redundant, they are removed.
  • The various list combinators now accept a tyregex as separator.
    The old behavior can be recovered by combining with Tyre.str.
  • Add the start and stop combinators.
  • The ~whole argument for compile and route is removed.
    tyregex don't match the whole string by default anymore.
    You can use Tyre.whole_string or Tyre.start and Tyre.stop instead.

Version 0.1.1

09 Sep 13:35
Compare
Choose a tag to compare

0.1.1

  • Fix a bug with nested repetitions. Also avoid some copying of the original string.
  • Add Tyre.execp

Version 0.1

11 Aug 16:55
Compare
Choose a tag to compare

Initial release.