1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-05 03:30:02 +00:00
janet/examples
Calvin Rose 6d096551f0 Add Peg combinators 'to' and 'thru'.
Inpsired by the REBOL operators of the same name, these
combinators match bytes up to or inculding a given pattern.
(to patt) is (almost) equalivalent to (any (if-not patt 1)), and
(thru patt) is equivalent to (* (to patt) patt). The one difference
is that if the end of the input is reached and patt is not
matched, the entire pattern does not match.
2020-06-10 21:18:50 -05:00
..
2019-11-25 20:00:13 -06:00
2020-04-10 17:20:23 -05:00
2018-09-05 22:18:42 -04:00
2019-02-17 11:20:24 -05:00
2019-03-21 14:32:08 -04:00
2019-05-16 12:03:54 +02:00
2020-02-12 09:32:41 -06:00
2020-02-12 09:32:41 -06:00