Commit Graph

600 Commits

Author SHA1 Message Date
dzaima
12d5a5a829 i8arr grade 2021-09-09 22:28:39 +03:00
dzaima
59dcde16c9 untag this pointer of modifier impl functions 2021-09-09 21:38:56 +03:00
dzaima
818675e4c0 another place for arr_bptr 2021-09-09 19:22:36 +03:00
dzaima
32e476b0c2 fix ⥊ 2021-09-09 18:47:16 +03:00
dzaima
337a6bbc5e more changes 2021-09-09 18:42:48 +03:00
dzaima
85dd03ac11 more types for join & add 2021-09-09 18:14:14 +03:00
dzaima
f8962c1eb9 use generic squeeze for arith 2021-09-09 17:30:40 +03:00
dzaima
0913d3b8f2 ElType cleanup 2021-09-09 17:21:19 +03:00
dzaima
d568363144 fix -𝕩 2021-09-09 17:07:39 +03:00
dzaima
fded6996e6 squeeze & hash fixes 2021-09-09 16:59:47 +03:00
dzaima
a6251ff3e7 squeeze int arrs on withFill 2021-09-09 16:08:13 +03:00
dzaima
85f8a5e7bd saner comparison code 2021-09-06 01:02:11 +03:00
dzaima
ffc4cec1ae monadic i8/i16 arith 2021-09-05 23:26:31 +03:00
dzaima
b1b066ce5c atom-arr arith 2021-09-05 23:04:14 +03:00
dzaima
667ac0b1d6 extremely basic i8/i16arr arith 2021-09-05 22:56:25 +03:00
dzaima
45c2fb41cc matching el_i8 and el_i16 cmp impls 2021-09-05 22:33:36 +03:00
dzaima
4e883f4812 comparisons now return i8arrs 2021-09-05 22:23:46 +03:00
dzaima
c2f0c2e76c comparisons don't return floats 2021-09-05 22:14:50 +03:00
dzaima
cec962fb8c usz multiplication 2021-09-05 21:51:00 +03:00
dzaima
4299fef6b6 clz macro 2021-09-05 21:05:19 +03:00
dzaima
e5338e931f fuzzing support 2021-09-05 18:00:28 +03:00
dzaima
21ba88751a working i8/i16-arrs 2021-09-05 16:06:31 +03:00
dzaima
80be141968 tyarr.c 2021-09-05 02:58:18 +03:00
dzaima
a191222967 tyarrTemplate.h 2021-09-05 02:29:06 +03:00
dzaima
4961c22c8b more incorrect fsizeof 2021-09-05 01:55:29 +03:00
dzaima
e225da87c7 fix i32/c32-arr allocation size 2021-09-05 01:36:16 +03:00
dzaima
8aa0687ef9 reorganize typed arr files 2021-09-05 01:10:40 +03:00
dzaima
7547fc1679 randomize •rand, don't use m_i32 for time seconds 2021-09-04 23:26:35 +03:00
Jesus Galan Lopez (yy)
2d954c3e9c •Delay return value 2021-09-04 21:50:19 +02:00
Jesus Galan Lopez (yy)
146bb600ac •MonoTime 2021-09-04 20:56:26 +02:00
Jesus Galan Lopez (yy)
77573522b3 •UnixTime 2021-09-04 20:36:55 +02:00
Jesus Galan Lopez (yy)
72a5167813 •rand (simpler) 2021-09-04 19:25:27 +02:00
Jesus Galan Lopez (yy)
93caa03983 •rand 2021-09-04 19:16:12 +02:00
dzaima
21c376416c fix •FLines@ 2021-09-03 15:13:46 +03:00
dzaima
563e4a8780 new bytecode numbering 2021-09-03 00:46:34 +03:00
dzaima
2c7febca75 that was never a thing 2021-09-02 00:34:10 +03:00
dzaima
59241d86ff clean up asserts 2021-09-01 23:56:19 +03:00
dzaima
e577dca32e make !𝕩 throw 𝕩 2021-08-30 22:27:04 +03:00
dzaima
17a3ed150d fixes for usz==u64 2021-08-29 04:29:50 +03:00
dzaima
1d13a1ef07 •ReBQN with only the repl setting 2021-08-28 23:55:48 +03:00
dzaima
6b52c2069f compile-time separated DFND 2021-08-27 12:35:23 +03:00
dzaima
305f578707 add •Fmt, changes to readme files 2021-08-27 11:52:56 +03:00
dzaima
a7ee8044d1 mention *_c1/*_c2 in src/readme 2021-08-24 02:51:34 +03:00
dzaima
0c1d4843ab fix undefined path handling 2021-08-23 18:37:01 +03:00
dzaima
ca86971df3 •path, •file.path, •file.At 2021-08-23 05:28:48 +03:00
dzaima
5e6bf0df29 fix ↑‿3⥊3 once more 2021-08-23 03:05:48 +03:00
dzaima
63cafe8e7b unified filling for ⥊ and ↑
well except for ¯N↑
2021-08-23 02:30:06 +03:00
dzaima
68214dda53 fix ↑‿3⥊3 2021-08-22 23:41:37 +03:00
dzaima
a3f87d4dcb fix %f and clarify o2s message 2021-08-22 23:20:28 +03:00
dzaima
0899ee31b3 move inc(p) inside first use 2021-08-22 18:35:36 +03:00
Jesus Galan Lopez (yy)
080a800ac7 dyadic FChars, FBytes and FLines 2021-08-22 17:14:38 +02:00
dzaima
8f8828c671 fix no fill case in ⥊ and namespace destructuring in header 2021-08-22 04:58:01 +03:00
dzaima
750207f1f8 fix exponential notation 2021-08-21 06:16:07 +03:00
dzaima
b61380aa73 better number formatting 2021-08-21 05:52:17 +03:00
dzaima
a56a20b046 fix vm_fmtPoint on non-equal s and src types 2021-08-21 04:41:51 +03:00
dzaima
167351bdba more file descriptions in src/readme 2021-08-21 04:27:19 +03:00
dzaima
e8fc4c4f69 left arg for REPL 2021-08-21 04:14:50 +03:00
dzaima
5dbd1688bc •MakeREPL 2021-08-21 03:52:49 +03:00
dzaima
3991efd3cd full SETH 2021-08-21 03:32:11 +03:00
dzaima
b38db2dda0 use err more 2021-08-21 00:14:26 +03:00
dzaima
a1870123cd disable IEEE 754 check 2021-08-19 16:31:58 +03:00
dzaima
a99a80a7a0 VFYM 2021-08-19 00:37:54 +03:00
dzaima
7d43d74b28 make evalBC consume the scope 2021-08-16 02:24:34 +03:00
dzaima
0abb24821d fix SETH in JIT too 2021-08-16 01:28:05 +03:00
dzaima
521abe669d hopefully fix SETH refcounts 2021-08-16 00:48:15 +03:00
dzaima
0af6895f4b unfinished SETH 2021-08-15 03:54:13 +03:00
dzaima
de86ce2aaa src/README.md, and cleaning up things while at it 2021-08-14 21:27:06 +03:00
dzaima
5d82350b0b fix more things about multiple bodies 2021-08-14 18:32:27 +03:00
dzaima
5d1d3467d9 append only know character arrays in formatter 2021-08-14 16:35:23 +03:00
dzaima
10d0cdc2fe •SH 2021-08-13 23:22:37 +03:00
dzaima
5c829a7fd7 fix wrong sortedness check for body indices 2021-08-12 05:11:34 +03:00
dzaima
ef92ddc69e •FromUTF8 2021-08-11 00:22:59 +03:00
Marshall Lochbaum
9a0cfa340a Don't allow First of empty or reshaping empty to non-empty 2021-08-07 20:25:07 -04:00
dzaima
2ab2f35a34 move fmtF to •Glyph 2021-08-04 22:06:33 +03:00
dzaima
65fe3d9aa2 basic namespace formatting 2021-08-04 22:02:21 +03:00
dzaima
2710786bf0 format blocks 2021-08-04 21:47:41 +03:00
dzaima
8934db0ec5 impure function mess 2021-08-04 21:06:33 +03:00
dzaima
39d095c8dc fix •-things being considered pure 2021-08-04 20:32:16 +03:00
dzaima
e9aff609bf more m_arr refactoring cleanup 2021-08-03 20:52:53 +03:00
dzaima
6799e8f078 fix >0⥊0 2021-08-03 16:51:25 +03:00
dzaima
849eeff465 initialize ia on allocation always 2021-08-03 02:57:46 +03:00
dzaima
8d7a31c8e9 store object pointer in slice 2021-08-01 18:59:31 +03:00
dzaima
be10e0d509 better fork_c2 2021-08-01 04:15:00 +03:00
dzaima
65f2cca251 better fork_c1 2021-08-01 04:12:46 +03:00
dzaima
86b3882c5e improve ⊸⟜ 2021-08-01 03:53:48 +03:00
dzaima
e5d876eb80 fix -R 2021-08-01 02:32:47 +03:00
dzaima
a444d4827d decSh doesn't really need to be split 2021-08-01 00:27:00 +03:00
dzaima
46d4acb72b special-case HArrs in withFill 2021-07-31 23:56:57 +03:00
dzaima
74a3a87166 handle arr⊸F and (arr G H) faster 2021-07-31 23:29:21 +03:00
dzaima
749b098f1e use decR less 2021-07-31 22:40:33 +03:00
dzaima
1f5cfbe766 more proper PERF_TEST, )ex 2021-07-31 20:02:56 +03:00
dzaima
c00834cf15 move mm_free call into virtual function so dec is simpler 2021-07-30 04:40: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
b18157d86b native ⥊
it's horrible but it appears to work
2021-07-27 19:48:22 +03:00
dzaima
25c89c06b1 •GetLine 2021-07-25 20:02:48 +03:00
dzaima
64b3a4ae6a clean up cc.bqn, specialize small arrays 2021-07-22 19:48:45 +03:00
dzaima
9f3ca80509 make it actually run
wow
2021-07-22 04:28:19 +03:00
dzaima
e04cd3c135 make gcc warn less 2021-07-22 03:38:25 +03:00
dzaima
4b8210d1bd apparently i broke 𝕨/𝕩.. 2021-07-22 03:23:49 +03:00
dzaima
0aceb2f8bb correct outdated comments in h.h 2021-07-22 01:24:14 +03:00
dzaima
55f7f8ef5b couple more type fixes 2021-07-21 00:03:45 +03:00
dzaima
5dd7288144 strict prototypes 2021-07-20 22:21:59 +03:00
dzaima
7ee8d642dc trailing newlines 2021-07-20 22:18:37 +03:00
dzaima
d4d4521e52 more fixing of warnings 2021-07-20 22:09:59 +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
99896fbace improving loop counter variable types 2021-07-20 21:32:41 +03:00
dzaima
68c2332fef return on FAIL 2021-07-20 19:58:34 +03:00
dzaima
c2c64f9654 move thrF to a full function
0.3% more instrs with it never being called what
2021-07-20 02:57:18 +03:00
dzaima
78cd23907e make err fails more clear 2021-07-19 23:09:10 +03:00
dzaima
0d5af28043 use mut_copyG in one more place 2021-07-19 19:56:14 +03:00
dzaima
2e2b479d37 shorten mut_init 2021-07-19 19:25:25 +03:00
dzaima
ca264d1332 move init out of mut_to 2021-07-19 19:23:36 +03:00
dzaima
cf10914d63 refactor mut type expanding 2021-07-19 04:54:29 +03:00
dzaima
d8cfac38a2 move mut_pfree out of .c 2021-07-19 04:41:01 +03:00
dzaima
0c04b7e03b move vec_add slow case to .c file 2021-07-19 04:36:04 +03:00
dzaima
708e06c0ea simplify mut usage where type is guaranteed correct 2021-07-19 04:22:18 +03:00
dzaima
9c66cbbb4b move noinline fns out of .h files 2021-07-19 03:48:52 +03:00
dzaima
61e58c7a02 basic monadic arith special-case 2021-07-18 18:12:11 +03:00
dzaima
d8e3f78e6c better dyadic arith messages 2021-07-18 17:24:21 +03:00
dzaima
1719374e0a make ubsan happier, optimize nextBC
still doesn't like f==(f64)(someIntType)f but that's, like, not replaceable
2021-07-17 21:25:11 +03:00
dzaima
43d2946447 fix refcount errors in merge 2021-07-16 23:11:34 +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
cdc363c94f initialize rtperf time counters 2021-07-12 01:45:28 +03:00
dzaima
bb463c8f87 fix rtverify failing on usz==u64 2021-07-12 01:06:39 +03:00
dzaima
576876dd32 fix warnings for usz==u64 2021-07-12 00:50:29 +03:00
dzaima
ed691f3dae joined 2buddy 2021-07-12 00:17:59 +03:00
dzaima
8f3f9ba114 don't read mmInfo from RAM 2021-07-11 23:24:13 +03:00
dzaima
2a0b91e7b4 counters instead of allocB 2021-07-11 23:07:07 +03:00
dzaima
1b31c88e4c use mm_heapUsed() instead of allocB 2021-07-11 22:45:08 +03:00
dzaima
9982c62526 move OBJ_COUNTER increment 2021-07-11 22:14:28 +03:00
dzaima
48380be063 separate allocB for mmX 2021-07-11 22:09:26 +03:00
dzaima
1d5e7212fd extract bucket definitions from template 2021-07-11 21:13:41 +03:00
dzaima
edd1f308ce clean up mm macros & globals 2021-07-11 21:04:49 +03:00
Marshall Lochbaum
dde05f5f02 Just use bit sets, not hashing, for complementary selection 2021-07-08 20:56:28 -04:00
Marshall Lochbaum
3546419816 Use the correct complement algorithm for the hash set 2021-07-08 17:54:34 -04:00
Marshall Lochbaum
619b9827de Faster random deal, and sorted subset 2021-07-08 17:33:50 -04:00
dzaima
cce52dd40e random deal & subset 2021-07-07 21:31:48 +03:00
dzaima
fc4d36de07 test for MAP_32BIT to enable JIT 2021-07-06 20:04:14 +03:00
dzaima
aef9702b7b list-of-structs → struct-of-lists for TypeInfo 2021-07-06 19:31:42 +03:00
dzaima
08723a3c80 use TI macros everywhere 2021-07-06 19:22:45 +03:00
dzaima
cd60db1c89 optimize fast allocation path 2021-07-05 02:52:42 +03:00
dzaima
d063e83a8d apparently BSZI is barely used 2021-07-05 01:22:49 +03:00
dzaima
7bc8856cd1 inline LOCU 2021-07-05 01:05:43 +03:00
dzaima
2a49cf8205 update objdump usage 2021-07-04 13:49:27 +03:00
dzaima
eca7699580 more ⊔ changes 2021-07-04 05:31:23 +03:00
dzaima
6942b2d04c add checks for 𝕨<¯1 in ⊔ 2021-07-04 05:05:13 +03:00
dzaima
f5388fbdfa depth check for ⊔ 2021-07-04 05:00:56 +03:00
dzaima
774db7a956 tagged bytecode position 2021-07-04 02:13:52 +03:00
dzaima
223d6ccca0 GS_SET on RET_ only when needed 2021-07-04 00:56:43 +03:00