Releases: Drup/tyre
Releases · Drup/tyre
0.5
0.4.1
0.4
Version 0.3
- 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
- Rename
<?>
to<|>
- Rename
<*>
to<&>
- Add the
str
andchar
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, andconv_fail
which allows failures.- The prefix (
<*
) and suffix (*>
) operators now accepts tyregexs on both
sides. The old behavior can be recovered by combining withTyre.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 withTyre.str
. - Add the
start
andstop
combinators. - The ~whole argument for compile and route is removed.
tyregex don't match the whole string by default anymore.
You can useTyre.whole_string
orTyre.start
andTyre.stop
instead.
Version 0.1.1
0.1.1
- Fix a bug with nested repetitions. Also avoid some copying of the original string.
- Add Tyre.execp
Version 0.1
Initial release.