Commit Graph

3700 Commits

Author SHA1 Message Date
dzaima
62209961eb make int overflow not leak shape 2021-06-01 16:31:54 +03:00
dzaima
9cb82af14d decrement 𝕨 of •internal.ListVariations 2021-06-01 16:13:19 +03:00
dzaima
48a14a8854 •internal.ListVariations options 2021-06-01 14:10:53 +03:00
dzaima
b9fef0394e comparison should error on bad shapes of args 2021-06-01 13:47:10 +03:00
dzaima
75a6d1b307 more random 2021-06-01 02:12:30 +03:00
dzaima
c35e885ea1 nfns, basic random 2021-06-01 01:45:37 +03:00
dzaima
51e0bf4bc0 i forgot to decrement 2021-06-01 00:35:47 +03:00
dzaima
10e8339012 accept non-array args to •internal.Squeeze
and also float replicate
2021-05-31 22:54:37 +03:00
dzaima
36a27b8424 fix rank>1 empty array args for f64_maybe_i32 2021-05-31 21:34:47 +03:00
dzaima
c7ee14791e char arith, float comparison 2021-05-31 02:12:22 +03:00
dzaima
7caa7dceb5 properly fall back to runtime in native ⊏ 2021-05-30 02:46:49 +03:00
dzaima
4d8375fdfd make ⊏ safe 2021-05-30 02:38:29 +03:00
dzaima
16f379b6c7 fix gc/refc issues, set memory to invalid objects on free in debug 2021-05-30 01:55:59 +03:00
dzaima
74fe1f1243 random changes 2021-05-30 00:56:17 +03:00
dzaima
70dcc25c51 mm_buddyTemplate.c 2021-05-29 22:50:39 +03:00
dzaima
510de71095 fix append_fmt appending a null byte 2021-05-29 15:02:36 +03:00
dzaima
aa9cd8f514 •Type for namespaces 2021-05-29 14:47:42 +03:00
dzaima
837a69b3aa don't allocate child blocks if not needed 2021-05-29 14:40:04 +03:00
dzaima
4b94465469 c32 ⊔ so compiled string literals get to be c32arrs 2021-05-29 14:26:51 +03:00
dzaima
41ffb0f2ef •internal Variation, ListVariations, ClearRefs, Unshare 2021-05-29 14:07:57 +03:00
dzaima
038b27072f •internal namespace 2021-05-28 21:59:18 +03:00
dzaima
a2d90a2595 make unknown key reads properly error for cross-program reads 2021-05-28 16:15:30 +03:00
dzaima
9326aa9572 add missing shape equality check to fast dyadic arith 2021-05-28 13:48:59 +03:00
dzaima
23d823057a preserve -e/-p/-o scope between args 2021-05-28 13:40:42 +03:00
dzaima
ed46ec7a44 fix REPL top-level errors 2021-05-28 01:27:50 +03:00
dzaima
345a0bfc8b unsigned bytecode 2021-05-28 01:12:36 +03:00
dzaima
1b89661308 inline objects 2021-05-28 01:03:29 +03:00
dzaima
a0ec9c02c9 blocks are guaranteed pointers 2021-05-27 20:20:14 +03:00
dzaima
ff2af490b8 special-case appending atoms with ∾ 2021-05-27 20:13:22 +03:00
dzaima
3ad82faadd split fillEqual into rare and non-rare versions 2021-05-27 19:44:15 +03:00
dzaima
d9110e8b5a optimize v_get, v_set, and a bit of fills 2021-05-27 19:00:08 +03:00
dzaima
752a68cb2d static const tagged builtins 2021-05-27 18:08:21 +03:00
dzaima
48a9b786c9 don't poinlessly overallocate group fill size 2021-05-27 17:31:31 +03:00
dzaima
24e37b4a84 add back NOINLINE to c[12]_rare
it appears to maybe now be better in at least some cases?
2021-05-27 16:26:18 +03:00
dzaima
3dbb492b78 separate push 2021-05-27 15:57:26 +03:00
dzaima
f5ff4850c2 ⌾⊑ fills 2021-05-27 04:56:22 +03:00
dzaima
c2ecc40b4d fix vector ∾ fills 2021-05-27 04:46:12 +03:00
dzaima
3b017648d8 extended variables, REPL support 2021-05-27 04:05:17 +03:00
dzaima
48229571ba proper bytecode rewriting 2021-05-26 16:34:36 +03:00
dzaima
7bf3b4be50 store directly needed blocks in bodies 2021-05-26 14:45:29 +03:00
dzaima
582273229b wrap 2021-05-25 02:52:21 +03:00
dzaima
55a93d1838 fix -M 2021-05-25 02:20:32 +03:00
dzaima
f1f4e417e1 call cbqn_init only when needed
so -M can execute before allocating memory
2021-05-25 01:02:01 +03:00
dzaima
50e76c8c04 move some headers & defs around 2021-05-25 00:51:09 +03:00
dzaima
899175f48b split up arith.c 2021-05-24 21:35:53 +03:00
dzaima
33b548fbda set max heap size 2021-05-24 19:54:16 +03:00
dzaima
8dc1ffd7c3 move atomEqual around 2021-05-24 18:26:38 +03:00
dzaima
f24ee7674d o3g 2021-05-24 18:13:23 +03:00
dzaima
b2e65cc9b7 separate out simple comparison 2021-05-24 18:05:35 +03:00
dzaima
200456ac72 integer arith 2021-05-24 17:58:11 +03:00