Commit Graph

164 Commits

Author SHA1 Message Date
dzaima
0c5b98772c m_harrs → M_HARR 2021-12-17 18:04:19 +02:00
dzaima
4af4b45ab7 fix / with negative numbers in indexes 2021-12-16 12:20:42 +02:00
dzaima
3c09781d1a )gc, )mem 2021-12-01 17:09:19 +02:00
dzaima
736861dd29 use native namespace to initialize REPL 2021-11-29 17:49:29 +02:00
dzaima
5484c109ea return value from ptr_inc 2021-11-20 00:58:18 +02:00
dzaima
d98cb0b80a dyadic •file.At 2021-10-12 00:34:44 +03:00
dzaima
4f0841c95e make -p use bqn_fmt 2021-09-25 22:25:41 +03:00
dzaima
20d0b3a288 time command 2021-09-23 10:46:49 +03:00
dzaima
fab1ffadf5 fifo support or whatever 2021-09-21 23:42:47 +03:00
dzaima
6f99b58099 argument "-" for stdin file 2021-09-21 16:44:23 +03:00
dzaima
59a9a5daf4 make empty REPL line not stop REPL 2021-09-21 14:05:23 +03:00
dzaima
93f362c4f2 use str8l more 2021-09-11 23:52:27 +03:00
dzaima
a36ae1a716 pass untagged pointer to get & getU 2021-09-09 23:52:18 +03:00
dzaima
ca86971df3 •path, •file.path, •file.At 2021-08-23 05:28:48 +03:00
dzaima
5dbd1688bc •MakeREPL 2021-08-21 03:52:49 +03:00
dzaima
b38db2dda0 use err more 2021-08-21 00:14:26 +03:00
dzaima
e5d876eb80 fix -R 2021-08-01 02:32:47 +03:00
dzaima
1f5cfbe766 more proper PERF_TEST, )ex 2021-07-31 20:02:56 +03:00
dzaima
36afe7f533 integrate mode for consistent timing
use with
make t=perftest f='-O3 -DPERF_TEST' c
2021-07-30 02:19:15 +03:00
dzaima
0bcf3b592f more comparison type fixing
and some more / opt to make it not slower
2021-07-20 21:56:35 +03:00
dzaima
9ae1ab80cf multiple body support 2021-07-16 22:42:22 +03:00
dzaima
c192125a9c fix •file in REPL 2021-07-12 12:10:06 +03:00
dzaima
7999683edf skip value checking for builtin loading
perf is reporting an 0.15% increase in instruction count (what?), but that's not gonna stop me
2021-07-03 02:38:09 +03:00
dzaima
84f58a2f87 fix refcounts 2021-06-29 22:58:32 +03:00
dzaima
726451ed0c include path in errors 2021-06-29 22:54:37 +03:00
dzaima
1ffd3a207a indent REPL 2021-06-27 21:24:48 +03:00
dzaima
a4446716bf compiler errors 2021-06-27 20:28:19 +03:00
dzaima
8b561a065a offset envCurr by 1 2021-06-25 18:03:54 +03:00
dzaima
953ea0d20d use execBodyInline everywhere 2021-06-22 01:35:00 +03:00
dzaima
8ad686ab1b inline scope variable setting 2021-06-19 21:03:33 +03:00
dzaima
7e994dd913 modifiable defines 2021-06-06 16:50:18 +03:00
dzaima
f1b1686300 •file.List 2021-06-01 22:12:34 +03:00
dzaima
b4ffc3115a •Exit 2021-06-01 20:32:24 +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
3b017648d8 extended variables, REPL support 2021-05-27 04:05:17 +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
33b548fbda set max heap size 2021-05-24 19:54:16 +03:00
dzaima
6b4c5913ff RT_VERIFY 2021-05-24 01:05:34 +03:00
dzaima
b2b826be9b incremental compilation 2021-05-23 21:55:49 +03:00
dzaima
0b479fc9d0 don't spam root objects 2021-05-20 23:16:21 +03:00
dzaima
b8feea1c8a lazy sort 2021-05-20 21:21:19 +03:00
dzaima
2d60dd4f1a use formatter for •Show, fix some refcounts 2021-05-20 19:45:47 +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
d08cd90998 typed arith 2021-05-19 18:57:12 +03:00
dzaima
9590471c7c fix COMP_COMP 2021-05-19 17:47:06 +03:00
dzaima
23af3f56e9 faster VM_POS 2021-05-19 15:00:45 +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
a1d5d87f8b fix comp_comp 2021-05-15 14:46:10 +03:00
dzaima
6ae85d3f29 fix REPL 2021-05-15 14:38:26 +03:00
dzaima
721017f6c0 fix path_dir, allow REPL to load relative files 2021-05-15 14:17:19 +03:00
dzaima
87138ee523 •Import, relative paths 2021-05-15 14:03:07 +03:00
dzaima
ca090efd07 execute argument file 2021-05-15 12:39:26 +03:00
dzaima
0a69c1e457 native monadic ↕ 2021-05-13 21:20:10 +03:00
dzaima
cd5eb4dfe9 •FChars, •FBytes 2021-05-12 16:31:01 +03:00
dzaima
3609c1ecdd enable compiler compilation with a define 2021-05-12 11:55:14 +03:00
dzaima
d42a6516b7 native 𝕨⍋𝕩 2021-05-10 16:15:34 +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
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
4d85a57e10 native ≍ 2021-05-03 12:41:51 +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
b31865b0f4 add back native » 2021-05-01 22:35:07 +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
d7561d1fbd native r0 ¨ 2021-04-30 20:41:24 +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
a1fec732b0 update cc.bqn 2021-04-29 00:32:52 +03:00
dzaima
a3e78e651e random cleanup 2021-04-28 12:38:02 +03:00
dzaima
f58af495bc f64arr 2021-04-28 11:45:18 +03:00
dzaima
9003a5df99 partially written arrays 2021-04-27 21:44:00 +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
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
4bd3a526d0 fix ctrl+d 2021-04-15 01:50:10 +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
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