1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 09:47:17 +00:00
janet/src
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
..
boot Properly hide private functions in boot.janet 2020-06-10 00:02:07 -05:00
conf Add :fresh option to import. 2020-05-15 17:19:37 -05:00
core Add Peg combinators 'to' and 'thru'. 2020-06-10 21:18:50 -05:00
include Add Peg combinators 'to' and 'thru'. 2020-06-10 21:18:50 -05:00
mainclient Make style consistent. 2020-05-23 11:07:57 -05:00