1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00
janet/src/boot
Calvin Rose aee1687215 Add RNG functionality to the math/ module.
The new RNG wraps up state for random number generation, so
one can have many rngs and even marshal and unmarshal them.
Adds math/rng, math/rng-uniform, and math/rng-int.

Also introduce `in` and change semantics for
indexing out of range. This commit enforces stricter
invariants on keys when indexing via a function call
on the data structure, or the new `in` function.

The `get` function is now more lax about keys, and will
not throw an error when a bad key is used for a data structure, instead
returning the default value.
2019-11-08 17:40:04 -06:00
..
array_test.c Begin work on new memory layout for all objects and GC. 2019-02-21 11:22:29 -05:00
boot.c Deprecate process/args and add use macro. 2019-07-20 16:57:07 -05:00
boot.janet Add RNG functionality to the math/ module. 2019-11-08 17:40:04 -06:00
buffer_test.c Begin work on new memory layout for all objects and GC. 2019-02-21 11:22:29 -05:00
number_test.c Fix MSVC compiler warnings. 2019-02-21 11:34:04 -05:00
system_test.c Fix loop :iterate. 2019-04-28 00:34:32 -04:00
table_test.c Begin work on new memory layout for all objects and GC. 2019-02-21 11:22:29 -05:00
tests.h Begin work on new memory layout for all objects and GC. 2019-02-21 11:22:29 -05:00