1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 08:20:27 +00:00
janet/test
Calvin Rose 7d57f87007 Address #1121 - disallow extra splices.
This turns splices that are ignored into compiler errors. Other
alternatives here should also be considered, for example making this
a compiler warning rather than an error. For example, the latest
spork as of a3ee63c137ee3234987dbbca71b566994ff8ae8c has an error of this
kind, but the resulting program does work correctly.

Also disallow splice propagation - code of the
form (+ 1 (do ;[2 3 4]) 5).
2023-05-06 13:12:31 -05:00
..
amalg Update copyrights. 2023-01-07 15:04:56 -06:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Address #1121 - disallow extra splices. 2023-05-06 13:12:31 -05:00
suite0000.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0001.janet (and ... <truthy-value> true) will return true as per docs. 2023-05-06 10:16:05 -05:00
suite0002.janet string and peg replacement functions can now take functions 2023-04-23 08:36:17 -07:00
suite0003.janet Tweak long-string|bytes peg in test suite files 2023-04-30 21:55:43 +09:00
suite0004.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0005.janet Address #1121 - disallow extra splices. 2023-05-06 13:12:31 -05:00
suite0006.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0007.janet Tweak long-string|bytes peg in test suite files 2023-04-30 21:55:43 +09:00
suite0008.janet peg replacement functions have access to captures 2023-04-23 09:15:46 -07:00
suite0009.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0010.janet Add keep-syntax and keep-syntax! functions 2023-04-07 21:09:52 -04:00
suite0011.janet symbolslots now use janet_v vectors, flat structure 2023-02-01 11:06:33 +01:00
suite0012.janet Update copyright year. 2023-01-07 15:03:35 -06:00
suite0013.janet Update copyright year. 2023-01-07 15:03:35 -06:00
suite0014.janet Made peg 'not' and 'if-not' drop their captures on success 2022-09-12 23:07:56 +01:00
suite0015.janet Add buffer/push-at for easier manipulation of buffers 2023-02-12 11:26:00 -06:00