1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 23:10:26 +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
..
numarray Add Peg combinators 'to' and 'thru'. 2020-06-10 21:18:50 -05:00
3sum.janet Many changes for adding dynamic (fiber-level) scope. 2019-04-16 15:41:45 -04:00
assembly.janet Update examples, add method like semantics to calling keywords. 2019-01-07 14:47:47 -05:00
colors.janet Update examples, add method like semantics to calling keywords. 2019-01-07 14:47:47 -05:00
debug.janet Fix up debug/step and janet_step. 2019-11-25 20:00:13 -06:00
debugger.janet Add debugger to the core repl. 2020-04-10 17:20:23 -05:00
error.janet Rename to janet 2018-09-05 22:18:42 -04:00
fizzbuzz.janet Updare examples. Delete ugly iterator example. 2018-11-26 22:09:12 -05:00
hello.janet Change format for declaring flexible arity functions. 2018-11-25 14:03:00 -05:00
lazyseqs.janet First commit removing the integer number type. This should 2018-12-27 13:05:29 -05:00
life.janet Update game of life example. 2019-02-17 11:20:24 -05:00
maxtriangle.janet Fix example. 2019-03-21 14:32:08 -04:00
primes.janet Primes example fixed 2019-05-16 12:03:54 +02:00
rtest.janet Allow seeding RNG with a byte sequence. 2019-11-21 22:53:39 -06:00
tarray.janet Fix some example issue and warnings under -Os. 2019-12-08 12:40:05 -06:00
tcpclient.janet Add methods to streams. 2020-02-12 09:32:41 -06:00
tcpserver.janet Add methods to streams. 2020-02-12 09:32:41 -06:00
threads.janet Pass thread body explicitly in thread/new. 2019-12-18 15:07:46 -05:00
urlloader.janet Remove resolver element in path tuple. 2019-05-25 17:27:56 -04:00