Commit Graph

811 Commits

Author SHA1 Message Date
Marshall Lochbaum
0ff92553a4 Better type (operand) processing for •bit._cast 2022-02-04 18:01:23 -05:00
Marshall Lochbaum
77dfaf75a4 Fix •bit._cast handling of boolean output with shared or slice input 2022-02-04 17:21:24 -05:00
Marshall Lochbaum
69e496f7fa Avoid •bit._cast aliasing, and all copying by using slices 2022-02-04 16:23:17 -05:00
Marshall Lochbaum
289763d1d1 Fix IS_ARR and IS_SLICE macro definitions 2022-02-04 16:13:40 -05:00
Marshall Lochbaum
fcc12ad8ee Fix handling of non-ambivalent modifier declarations in load.c 2022-02-04 16:12:53 -05:00
Marshall Lochbaum
a21efec47e •bit._cast prototype 2022-02-04 14:47:13 -05:00
dzaima
d9c0e38c12 fold extended scope free into no parent pointer case 2022-02-02 14:03:43 +02:00
dzaima
eca92b6a5d reorder scope_dec 2022-01-28 04:07:29 +02:00
dzaima
c27c244ccc add some extra casts for ARM clang 2022-01-26 16:59:56 +02:00
dzaima
0d977b73cd clean up some singeli 2022-01-25 19:54:18 +02:00
dzaima
2e2dcb3134 ⌜ impls 2022-01-23 17:38:55 +02:00
dzaima
d2682c595b native dyadic ˝ 2022-01-22 19:34:40 +02:00
dzaima
3f79fc3773 native monadic ˝ 2022-01-22 19:30:24 +02:00
dzaima
3fb793526c )erase; try to not oom on printing errors 2022-01-19 01:02:07 +02:00
dzaima
48e9e3d655 stdin for •SH 2022-01-18 02:32:20 +02:00
dzaima
b3e10af2b7 force-inline tag-checking functions 2022-01-16 04:55:26 +02:00
dzaima
39d1fc0eb3 fix precedence 2022-01-16 04:50:09 +02:00
dzaima
8403f82b9f more singeli build memory leak fix 2022-01-12 19:52:16 +02:00
dzaima
a6d4c8bb32 more singeli definitions 2022-01-12 18:29:27 +02:00
dzaima
5d3c801fb5 fix memory leak in singeli arith fallback & each fills 2022-01-12 16:10:41 +02:00
dzaima
3536c351fa preallocate oom message 2022-01-12 14:05:08 +02:00
dzaima
c4136d4a53 fix /⁼ with 64-bit usz 2022-01-11 18:54:40 +02:00
dzaima
a7b8dd86cf check array size overflowing on creation 2022-01-11 17:40:24 +02:00
dzaima
65c856693f fix t_harrPartial freeing 2022-01-11 00:55:57 +02:00
dzaima
675a0e8045 make body->bl an owned pointer 2022-01-11 00:32:58 +02:00
dzaima
3a510f99e5 pass direct u32 to bc_repr 2022-01-10 20:25:33 +02:00
dzaima
5cde913c78 •CurrentError 2022-01-08 21:55:19 +02:00
dzaima
588350d85b native dyadic ˘ 2022-01-06 04:39:09 +02:00
dzaima
6672d95ea8 fix c2iW/c2iX, )internalPrint 2022-01-06 03:51:21 +02:00
dzaima
6c4208f79d remove unused rt_merge 2022-01-06 01:22:31 +02:00
dzaima
ade183e635 bunch of header file changes 2022-01-06 01:17:10 +02:00
dzaima
9dc3ef1eb8 move mut_copyG out of header
i'd still like to be able to have the compiler invert a loop of mut_copyG-s to a switch over the type to various loops, but that doesn't even work as it probably can't guarantee that m->type doesn't change
2022-01-03 19:03:00 +02:00
dzaima
4d6369af06 remove fwTotal compensation
can cause overflows
2022-01-02 16:33:01 +02:00
dzaima
b6f43ec4be deduplicate a bit 2022-01-01 22:51:14 +02:00
dzaima
ff4573f65c bitarr generation in bit_sel 2022-01-01 22:41:29 +02:00
dzaima
0690ae114a wrap non-native builtins in cases that they exist 2022-01-01 15:33:41 +02:00
dzaima
2602a6499d rename block types 2021-12-31 17:48:19 +02:00
dzaima
08f04a8521 pass untagged pointer to under functions 2021-12-30 21:52:29 +02:00
dzaima
c7a6176be3 store untagged modifier in derived function object 2021-12-30 03:01:02 +02:00
dzaima
14d298231f all native builtins 2021-12-30 02:28:20 +02:00
dzaima
b656c9aa44 #define → typedef 2021-12-30 02:18:25 +02:00
dzaima
d68e278083 move nsTime to its own file 2021-12-29 19:49:16 +02:00
dzaima
81a47f1386 fix genRuntimeSrc 2021-12-28 00:07:08 +02:00
dzaima
0552ffbf37 make sorting set sorted flags 2021-12-25 18:24:22 +02:00
dzaima
7e39407eb4 reorder v_setI 2021-12-25 18:10:47 +02:00
dzaima
bebf1e4255 error location for autogenerated FAIL bodies
and also more )gc things
2021-12-25 18:01:52 +02:00
dzaima
04a530a532 fix ⍉f64arr 2021-12-20 18:29:20 +02:00
dzaima
3d5a92c1f3 faster integer squeeze 2021-12-20 00:53:13 +02:00
dzaima
44dc602425 native rank>2 ⍉ 2021-12-20 00:52:53 +02:00
dzaima
7cc88fae9c native rank 2 ⍉ 2021-12-19 16:43:37 +02:00
dzaima
88c5a16678 native monadic ⎉ 2021-12-19 15:26:21 +02:00
dzaima
d873ce0d81 fix hash for bitarrs 2021-12-19 14:55:21 +02:00
dzaima
7c9439690b complete 2021-12-19 01:47:52 +02:00
dzaima
9054cf0b54 make vec_join be mostly not inlined 2021-12-19 01:45:05 +02:00
dzaima
7e89e190f2 )vars 2021-12-19 01:32:36 +02:00
dzaima
1770251bad singeli + & - & × 2021-12-18 22:30:00 +02:00
dzaima
0c5b98772c m_harrs → M_HARR 2021-12-17 18:04:19 +02:00
dzaima
12250ef202 changes to •ReBQN 2021-12-17 14:39:51 +02:00
Marshall Lochbaum
7b2c79fb87 Implement •primitives 2021-12-16 17:57:05 -05:00
Marshall Lochbaum
89e8cf5a6c Implement •ReBQN 𝕩.primitive processing 2021-12-16 14:29:19 -05:00
Marshall Lochbaum
9e5f488642 Allow custom compiler/runtime for non-REPL •ReBQN too 2021-12-16 14:29:19 -05:00
Marshall Lochbaum
4d394ea441 Store compiler and runtime in •ReBQN result 2021-12-16 14:29:19 -05:00
Marshall Lochbaum
5c2a921e56 Switch from fixed-primitives compiler (c) to variable (cc) 2021-12-16 14:29:19 -05:00
dzaima
b4425508c3 fix merge refcounting 2021-12-16 17:33:29 +02:00
dzaima
c4230ead74 remove duplicate definition 2021-12-16 12:29:25 +02:00
dzaima
23fc280383 fix leak in •file.List 2021-12-16 12:24:07 +02:00
dzaima
4af4b45ab7 fix / with negative numbers in indexes 2021-12-16 12:20:42 +02:00
dzaima
c68858ba90 various fixes for ⊑ 2021-12-16 09:14:13 +02:00
dzaima
8a1ccc7198 native ⊑; f⌾(v⊸⊏) f64arr 2021-12-15 14:03:02 +02:00
dzaima
e7662b0f6a separate array & scalar cases in arith builtins 2021-12-13 00:16:23 +02:00
dzaima
9044cd0ef0 allow high-rank 'a' in native F⌾(a⊸⊏) 2021-12-12 23:33:02 +02:00
dzaima
9e6b8ecaae throw error on reaching heap size limit if reasonable 2021-12-12 23:29:09 +02:00
dzaima
cd07af4e8b add g_pst gdb utility 2021-12-12 23:21:22 +02:00
dzaima
1b1fe2ba57 BMI2 bitarr/bitarr 2021-12-12 23:11:07 +02:00
dzaima
56d148832e support unsorted argument for /⁼ 2021-12-12 17:25:14 +02:00
dzaima
1b878ccdb6 better readme 2021-12-10 22:49:04 +02:00
dzaima
3351f6b303 l*sizeof(B*) → l*sizeof(B) for copying l items in a B* 2021-12-10 21:51:09 +02:00
dzaima
3da8302249 cast ptrdiff to i64 2021-12-10 21:40:13 +02:00
dzaima
d0f4773120 use correct type for m_nns computation 2021-12-10 21:38:33 +02:00
dzaima
b9232a1f68 fix handling of first element in /⁼ 2021-12-06 11:01:52 +02:00
dzaima
9af0d4b66f don't inline hashmap size doubling function 2021-12-05 19:25:54 +02:00
dzaima
0b42b35d51 use variable in FL_KEEP 2021-12-03 14:29:41 +02:00
dzaima
3c09781d1a )gc, )mem 2021-12-01 17:09:19 +02:00
dzaima
c8b15987b5 optimize mm_allocS 2021-11-30 17:13:07 +02:00
dzaima
f81b680aad NOTM 2021-11-29 22:40:12 +02:00
dzaima
736861dd29 use native namespace to initialize REPL 2021-11-29 17:49:29 +02:00
dzaima
4f66b6b88a native namespace creation 2021-11-29 16:44:20 +02:00
dzaima
ef5864afbc global name list 2021-11-29 00:21:41 +02:00
dzaima
4af5f3d4a6 store Value* as gc roots 2021-11-28 21:56:01 +02:00
dzaima
94e38e7162 fix import A →import B; import A 2021-11-26 12:23:46 +02:00
dzaima
4697b91b1e fix >2 repeated imports & error on cyclical importing 2021-11-26 00:25:11 +02:00
dzaima
d032c97b13 cache monadic •Import 2021-11-26 00:01:37 +02:00
dzaima
0389eda29b inverse modifiers 2021-11-25 00:24:16 +02:00
dzaima
b76d30d4bc add •state and •name 2021-11-24 23:03:17 +02:00
dzaima
097f39da15 make •Type throw on bi_optOut 2021-11-23 10:30:13 +02:00
dzaima
996114a73b make file writing accept characters 2021-11-23 01:16:46 +02:00
dzaima
77144cd79c •math function inverses 2021-11-23 01:10:08 +02:00
dzaima
29bf1f1234 don't pointlessly copy register 2021-11-22 11:22:50 +02:00
dzaima
7168633f35 lGPos is set by following GET 2021-11-22 11:11:35 +02:00
dzaima
55c1d79d86 headers for immediate modifiers 2021-11-22 10:56:18 +02:00