Commit Graph

224 Commits

Author SHA1 Message Date
dzaima
48ac839a1d make •Import work again 2021-06-01 20:45:39 +03:00
dzaima
b4ffc3115a •Exit 2021-06-01 20:32:24 +03:00
dzaima
c35e885ea1 nfns, basic random 2021-06-01 01:45:37 +03:00
dzaima
4d8375fdfd make ⊏ safe 2021-05-30 02:38:29 +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
23d823057a preserve -e/-p/-o scope between args 2021-05-28 13:40:42 +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
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
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
55a93d1838 fix -M 2021-05-25 02:20:32 +03:00
dzaima
50e76c8c04 move some headers & defs around 2021-05-25 00:51:09 +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
b2e65cc9b7 separate out simple comparison 2021-05-24 18:05:35 +03:00
dzaima
8cfa3e7f55 builtin initialization in load.c 2021-05-24 14:41:10 +03:00
dzaima
cc36fd0d7c assert partial HArrs are finished 2021-05-24 13:18:10 +03:00
dzaima
6b4c5913ff RT_VERIFY 2021-05-24 01:05:34 +03:00
dzaima
f4ec365a3e extern env & ti 2021-05-24 00:37:43 +03:00
dzaima
39f9060224 extern bi_ 2021-05-24 00:35:38 +03:00
dzaima
cc163fefe7 more extern 2021-05-24 00:16:03 +03:00
dzaima
8e38de7f5c make heapverify 2021-05-23 22:28:59 +03:00
dzaima
b2b826be9b incremental compilation 2021-05-23 21:55:49 +03:00
dzaima
f26cd2a03b native ⊒arr 2021-05-23 01:04:54 +03:00
dzaima
5db84031f7 2021-05-23 00:28:27 +03:00
dzaima
882280e6bd check fread/fwrite result
and otherwise make gcc builds happy
2021-05-21 16:08:22 +03:00
dzaima
7df1b5d4a7 vectorized = and ≠ 2021-05-21 00:49:10 +03:00
dzaima
aa36531783 temporary allocations 2021-05-21 00:05:11 +03:00
dzaima
c39b06e078 native ⍷vec 2021-05-20 20:34:17 +03:00
dzaima
e90701af9f native vec∊vec 2021-05-20 19:35:38 +03:00
dzaima
b8fe149d1f hashmaps, fast ⊐ 2021-05-20 19:24:54 +03:00
dzaima
2ed797ce16 hash 2021-05-20 03:03:33 +03:00
dzaima
e140f9350b native 𝔽˘𝕩 and > 2021-05-19 21:56:40 +03:00
dzaima
0e650d6038 a tiny bit of a native ⊐ 2021-05-19 19:36:10 +03:00
dzaima
0f001313a7 native ⌽ and F⌾⌽ 2021-05-19 18:48:05 +03:00
dzaima
422c3ff823 native ⌾(a⊸⊏) 2021-05-19 17:02:03 +03:00
dzaima
dd865697ef updated formatter 2021-05-19 15:09:01 +03:00
dzaima
ffbb6ce601 fancy error messages 2021-05-19 14:22:04 +03:00
dzaima
45207372f6 native ⌾(a⊸/) and ⌾⊑ 2021-05-16 18:16:09 +03:00
dzaima
c2013e3b5d •args, •FLines, command-line options, •Repr, fix unit∾unit fill 2021-05-15 17:51:17 +03:00
dzaima
915b84f028 fast error on CATCH_ERRORS+HEAP_VERIFY, allow unicode paths 2021-05-15 14:51:46 +03:00
dzaima
87138ee523 •Import, relative paths 2021-05-15 14:03:07 +03:00
dzaima
523a062b95 update names 2021-05-15 12:53:35 +03:00
dzaima
77531e2d8f visit should take pointer as arg 2021-05-15 12:23:21 +03:00
dzaima
fb7bfcf188 free should take pointer as arg 2021-05-15 12:23:19 +03:00
dzaima
5dfa9e0e31 NSPM 2021-05-14 23:09:52 +03:00
dzaima
c5506657c3 native vector ⊔ 2021-05-14 20:08:38 +03:00
dzaima
0a69c1e457 native monadic ↕ 2021-05-13 21:20:10 +03:00
dzaima
62dbedc9b8 empty int arr constant 2021-05-12 16:37:00 +03:00
dzaima
cd5eb4dfe9 •FChars, •FBytes 2021-05-12 16:31:01 +03:00
dzaima
54abc94cad •_timed 2021-05-10 23:22:00 +03:00
dzaima
765098f485 native i32 monadic ⍋ 2021-05-10 17:10:16 +03:00
dzaima
d42a6516b7 native 𝕨⍋𝕩 2021-05-10 16:15:34 +03:00
dzaima
9bdacbbd7d toCells, throw stack overflows 2021-05-10 13:41:27 +03:00
dzaima
2202200a6e stacktraces 2021-05-10 02:44:26 +03:00
dzaima
9893a8bd97 isCallable 2021-05-09 20:05:34 +03:00
dzaima
0f844b4e09 •BQN, split runtime/compiler loading out of main 2021-05-09 17:31:31 +03:00
dzaima
0dede67d2a namespaces 2021-05-09 16:01:19 +03:00
dzaima
8ed4019edf bi_emptyHVec, actually fix !GS_REALLOC 2021-05-08 15:47:04 +03:00
dzaima
4762463ce8 fancier init 2021-05-07 21:56:11 +03:00
dzaima
f70a8c558c option to not allow reallocating stack
with no benefits currently, whatever
2021-05-07 21:51:54 +03:00
dzaima
6740e680a9 split up eq_c2 2021-05-03 15:00:51 +03:00
dzaima
4d85a57e10 native ≍ 2021-05-03 12:41:51 +03:00
dzaima
5d0342e647 simpler batch function calls 2021-05-02 21:48:12 +03:00
dzaima
c9eab08569 i32arr⊏i32arr, isAtm, m_atomUnit 2021-05-02 19:14:25 +03:00
dzaima
bfd1e0d49e use fill info to try to type an array
and bug fixes :)
2021-05-02 17:07:41 +03:00
dzaima
14e12ea544 native « 2021-05-02 15:34:31 +03:00
dzaima
494c13f3d8 gc on 2×previous 2021-05-02 14:08:54 +03:00
dzaima
9f824483eb cleaner ¨ 2021-05-02 13:49:40 +03:00
dzaima
76c3466c96 crappy fills 2021-05-01 22:26:18 +03:00
dzaima
2828a05dfc native », fill stuff 2021-05-01 04:21:14 +03:00
dzaima
755274ebb6 random type changes 2021-04-30 20:38:48 +03:00
dzaima
6afd425f24 reenable native ⊏ 2021-04-30 00:21:22 +03:00
dzaima
4783812eaf mut 2021-04-29 23:44:50 +03:00
dzaima
6c2ed64ab4 separate non-structural functions out of sfns.c 2021-04-29 13:02:27 +03:00
dzaima
c7af11dd2e native runtime_0 2021-04-29 03:06:02 +03:00
dzaima
7786beeed1 clean up err stuff 2021-04-29 00:06:27 +03:00
dzaima
f0a602ccde random utility functions 2021-04-28 12:22:51 +03:00
dzaima
f58af495bc f64arr 2021-04-28 11:45:18 +03:00
dzaima
3a0ed1cbc7 •Out and •Show 2021-04-27 23:35:01 +03:00
dzaima
9003a5df99 partially written arrays 2021-04-27 21:44:00 +03:00
dzaima
ca3ff89a4d move random functions to stuff.c 2021-04-27 17:35:41 +03:00
dzaima
a6d15846f6 m_hunit 2021-04-27 14:39:02 +03:00
dzaima
271479c511 use getU more 2021-04-26 11:45:12 +03:00
dzaima
76dbabb03d finish separating arr_shAlloc 2021-04-26 10:46:33 +03:00
dzaima
6d5c04e62a split up h.h 2021-04-26 10:35:18 +03:00
dzaima
776a77f033 new cc.bqn 2021-04-26 10:04:32 +03:00
dzaima
b5468f630b native vector ⊏ & / 2021-04-26 01:38:34 +03:00
dzaima
8d21080dd8 native ⍟, fix unit eachd 2021-04-25 01:35:52 +03:00
dzaima
365caec21b in-place eachd 2021-04-24 01:28:07 +03:00
dzaima
4f8dd1b178 native fns, runtime perf 2021-04-24 00:57:04 +03:00
dzaima
e345f37605 ⎊ and proper _fillBy_ 2021-04-17 00:53:23 +03:00
dzaima
38ab8ecf96 error catching option 2021-04-15 02:10:30 +03:00
dzaima
889f633bd3 catch errors 2021-04-15 01:20:50 +03:00
dzaima
2d43489cd2 more refcount fixes 2021-04-14 23:18:48 +03:00
dzaima
c820b4b3a5 GC 2021-04-14 19:11:19 +03:00
dzaima
be994f822b •Type, •PrimInd, •Decompose 2021-04-10 21:42:52 +03:00
dzaima
67dad6cc1d uhh refcount better 2021-04-10 19:50:50 +03:00
dzaima
21412be6c5 sysvals 2021-04-09 21:14:28 +03:00
dzaima
1db0527c5a in-place i32arr monadic ⌜ 2021-04-09 12:59:54 +03:00
dzaima
d3522fecfa decR 2021-04-08 13:20:53 +03:00
dzaima
ae1ca2f1d9 inci→inc, ptr_dec_rare 2021-04-08 03:26:25 +03:00
dzaima
3603b621c8 separate noinline call for non-functions 2021-04-06 14:00:12 +03:00
dzaima
52cd7a9d82 noinline makeEmpty 2021-04-06 13:56:54 +03:00
dzaima
dd8e8b970b pass derived function to modifiers 2021-04-06 13:25:19 +03:00
dzaima
6e2dcacf57 iterate through heap 2021-04-06 02:15:47 +03:00
dzaima
9e1eae8e58 2 buddy allocator 2021-04-05 18:40:39 +03:00
dzaima
6f63fcd92a global stack 2021-04-05 14:51:34 +03:00
dzaima
d0f835aa2e fill 2021-04-04 18:18:47 +03:00
dzaima
9136d6000d buddy memory allocator 2021-04-03 19:19:39 +03:00
dzaima
8fd12fceb2 uhhhhh 2021-04-02 14:55:57 +03:00
dzaima
e830df3893 formatter 2021-04-02 14:31:21 +03:00
dzaima
a98365aac8 finish using srnk 2021-03-31 11:31:52 +03:00
dzaima
3773c15d90 tiny changes 2021-03-30 12:53:26 +03:00
dzaima
f534115d1c slices for ⥊ 2021-03-30 12:26:42 +03:00
dzaima
0eb8b37236 trailing newlines
ugh
2021-03-30 03:27:41 +03:00
dzaima
7c92f500b3 store extra info in Value 2021-03-30 03:22:00 +03:00
dzaima
17d3277d2b move printUTF8 to utf.c 2021-03-30 03:04:30 +03:00
dzaima
bad822447f 1 2021-03-30 00:58:56 +03:00