Commit Graph

199 Commits

Author SHA1 Message Date
dzaima
529d2abae4 add warning about miscompilation for x86 on gcc 2022-10-08 14:41:44 +03:00
dzaima
59e947cc20 more consistent type checking & conversion functions 2022-09-07 23:56:03 +03:00
dzaima
e6b4f85662 x->ia → IA(x) / PIA(x) 2022-08-20 08:30:03 +03:00
dzaima
b1300e6e76 yet another string function rename 2022-08-18 09:07:32 +03:00
dzaima
ff0ea7a0ad fix empty program check in REPL 2022-08-14 02:33:48 +03:00
dzaima
fadde40f78 more incG 2022-06-26 23:48:30 +03:00
dzaima
997ced9d2e
Merge pull request #25 from Detegr/explain
support calling explain for an expression
2022-06-26 21:56:32 +03:00
dzaima
266c742b98 fix refcount 2022-06-26 21:54:41 +03:00
dzaima
43b8b5e2a0 )escaped 2022-06-19 21:05:05 +03:00
Antti Keränen
0314f55a78 support calling explain for an expression 2022-06-18 22:09:36 +03:00
dzaima
1fd88c1749 clean up ascii/utf8 functions 2022-06-15 15:31:57 +03:00
dzaima
14b7942556 )clearImportCache 2022-06-05 17:17:20 +03:00
dzaima
e92dce58fb shared library build 2022-06-03 22:04:48 +03:00
dzaima
572bc04459 move interrupt check to its own header 2022-06-03 16:02:02 +03:00
dzaima
7a21f9ef73 experimental REPL interrupting 2022-06-03 15:38:32 +03:00
dzaima
47e4e68eee fix )profile@123 2022-06-03 14:47:43 +03:00
dzaima
e2fda60745 profiler 2022-05-29 22:02:50 +03:00
dzaima
aefeb3c6fd fix emcc build 2022-04-26 19:32:29 +03:00
dzaima
0ec0658ada oh right bqn_exec is a thing 2022-04-08 17:25:31 +03:00
dzaima
ccd00cd4cf use length argument in cbqn_evalSrc 2022-04-07 19:52:35 +03:00
dzaima
e38226895e cbqn_evalSrc 2022-04-07 19:45:43 +03:00
dzaima
7adb06a43d )r 2022-04-07 19:43:49 +03:00
dzaima
e7b551acc2 increase wasi stack size 2022-04-07 02:06:41 +03:00
dzaima
e3e54bea06 extract single REPL input line execution to function 2022-04-06 20:59:33 +03:00
dzaima
0c79b44ae0 output errors to stderr 2022-03-05 02:32:28 +02:00
dzaima
4ecd336595 )mem f 2022-03-04 18:31:54 +02:00
dzaima
5cd19eafe8 vectorized dyadic arith tail element handling 2022-02-27 18:46:35 +02:00
dzaima
de4914991a •term.OutRaw, •term.ErrRaw 2022-02-25 18:20:25 +02:00
dzaima
3fb793526c )erase; try to not oom on printing errors 2022-01-19 01:02:07 +02:00
dzaima
5cde913c78 •CurrentError 2022-01-08 21:55:19 +02:00
dzaima
6672d95ea8 fix c2iW/c2iX, )internalPrint 2022-01-06 03:51:21 +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
bebf1e4255 error location for autogenerated FAIL bodies
and also more )gc things
2021-12-25 18:01:52 +02:00
dzaima
7e89e190f2 )vars 2021-12-19 01:32:36 +02:00
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