Commit Graph

299 Commits

Author SHA1 Message Date
dzaima
0c79b44ae0 output errors to stderr 2022-03-05 02:32:28 +02:00
dzaima
de4914991a •term.OutRaw, •term.ErrRaw 2022-02-25 18:20:25 +02:00
dzaima
d85fb9a592 •file.Type, •file.Name 2022-02-05 18:41:21 +02:00
dzaima
5d3c801fb5 fix memory leak in singeli arith fallback & each fills 2022-01-12 16:10:41 +02:00
dzaima
5cde913c78 •CurrentError 2022-01-08 21:55:19 +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
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
d68e278083 move nsTime to its own file 2021-12-29 19:49:16 +02:00
dzaima
d873ce0d81 fix hash for bitarrs 2021-12-19 14:55:21 +02:00
dzaima
9054cf0b54 make vec_join be mostly not inlined 2021-12-19 01:45:05 +02:00
dzaima
0c5b98772c m_harrs → M_HARR 2021-12-17 18:04:19 +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
3351f6b303 l*sizeof(B*) → l*sizeof(B) for copying l items in a B* 2021-12-10 21:51:09 +02:00
dzaima
9af0d4b66f don't inline hashmap size doubling function 2021-12-05 19:25:54 +02:00
dzaima
b76d30d4bc add •state and •name 2021-11-24 23:03:17 +02:00
dzaima
996114a73b make file writing accept characters 2021-11-23 01:16:46 +02:00
dzaima
d42dd3dcf9 merged typed types 2021-10-22 17:11:54 +03:00
dzaima
f50b8ab503 fix fill of n↑fillarr 2021-10-20 18:29:28 +03:00
dzaima
d4f183ccda •wdpath, path_resolve → path_rel 2021-10-12 00:53:54 +03:00
dzaima
363309a218 some cleanup 2021-10-11 21:50:16 +03:00
dzaima
1bca264db8 bitarrs 2021-10-03 23:18:30 +03:00
dzaima
dac6f29a41 more eachd_fn and eachm_fn out of header file 2021-09-30 20:24:14 +03:00
dzaima
d2ea19c757 more slow warns 2021-09-26 13:36:37 +03:00
dzaima
797a848ed4 warn slow for unknown scans & folds & ⍋ 2021-09-26 01:04:18 +03:00
dzaima
28f40e5368 slow notes 2021-09-25 20:39:06 +03:00
dzaima
a15f66c43b rename formatting functions 2021-09-25 13:53:53 +03:00
dzaima
fab1ffadf5 fifo support or whatever 2021-09-21 23:42:47 +03:00
dzaima
c53b4b2294 move builtins.h to root of src 2021-09-21 17:28:25 +03:00
dzaima
6f99b58099 argument "-" for stdin file 2021-09-21 16:44:23 +03:00
dzaima
7f6740ec07 more flag clearing 2021-09-16 23:27:40 +03:00
dzaima
62a96f1196 squoze 2021-09-16 23:20:58 +03:00
dzaima
0969acef35 don't keep around reuse in eachm 2021-09-13 12:28:12 +03:00
dzaima
e8fecf64fa generate c8arr in fromUTF8 2021-09-12 00:07:13 +03:00
dzaima
e98660bfa8 more typed array conversion 2021-09-11 23:17:17 +03:00
dzaima
d8d56bbdd4 TmpFile→I8Arr 2021-09-10 15:24:07 +03:00
dzaima
a36ae1a716 pass untagged pointer to get & getU 2021-09-09 23:52:18 +03:00
dzaima
818675e4c0 another place for arr_bptr 2021-09-09 19:22:36 +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
0913d3b8f2 ElType cleanup 2021-09-09 17:21:19 +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
21ba88751a working i8/i16-arrs 2021-09-05 16:06:31 +03:00
dzaima
a191222967 tyarrTemplate.h 2021-09-05 02:29:06 +03: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
dzaima
21c376416c fix •FLines@ 2021-09-03 15:13:46 +03:00
dzaima
1d13a1ef07 •ReBQN with only the repl setting 2021-08-28 23:55:48 +03:00
dzaima
305f578707 add •Fmt, changes to readme files 2021-08-27 11:52:56 +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
68214dda53 fix ↑‿3⥊3 2021-08-22 23:41:37 +03:00
dzaima
5dbd1688bc •MakeREPL 2021-08-21 03:52:49 +03:00
dzaima
de86ce2aaa src/README.md, and cleaning up things while at it 2021-08-14 21:27:06 +03:00
dzaima
10d0cdc2fe •SH 2021-08-13 23:22:37 +03:00
dzaima
ef92ddc69e •FromUTF8 2021-08-11 00:22:59 +03:00
dzaima
2ab2f35a34 move fmtF to •Glyph 2021-08-04 22:06:33 +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
849eeff465 initialize ia on allocation always 2021-08-03 02:57:46 +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
25c89c06b1 •GetLine 2021-07-25 20:02:48 +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
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
cce52dd40e random deal & subset 2021-07-07 21:31:48 +03:00
dzaima
08723a3c80 use TI macros everywhere 2021-07-06 19:22:45 +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
ceb967bbd4 return Arr* from m_fillarrp 2021-07-03 01:53:26 +03:00
dzaima
08df9bfe7b arrP_sh* → arr_sh* 2021-07-03 01:38:56 +03:00
dzaima
d49d5a3e31 don't use arr_sh* 2021-07-03 01:37:54 +03:00
dzaima
c0a75327ef return Arr* from mut_fp 2021-07-03 01:25:55 +03:00
dzaima
c52a042eb4 return Arr* from slices 2021-07-03 01:25:55 +03:00
dzaima
daa8294252 return Arr* from m_(i32|c32|f64)arrp 2021-07-03 00:37:00 +03:00
dzaima
49810ce8bc rename mm_allocN 2021-07-03 00:27:20 +03:00
dzaima
a4446716bf compiler errors 2021-06-27 20:28:19 +03:00
dzaima
1afe46b393 move TAlloc/TStack around, immediate functions 2021-06-15 01:20:32 +03:00
dzaima
550b91688a extremely basic x86-64 generator 2021-06-09 18:47:50 +03:00
dzaima
7e994dd913 modifiable defines 2021-06-06 16:50:18 +03:00
dzaima
47f8984e74 faster i32arrOfBools/ 2021-06-06 15:15:18 +03:00
dzaima
2685c598e6 native √ 2021-06-04 02:17:40 +03:00
dzaima
24f61bd5a5 move builtin defs to own file 2021-06-04 02:07:30 +03:00
dzaima
b84e6e549b fix refcount in •file.List 2021-06-01 23:53:38 +03:00
dzaima
f1b1686300 •file.List 2021-06-01 22:12:34 +03:00
dzaima
ff2af490b8 special-case appending atoms with ∾ 2021-05-27 20:13:22 +03:00
dzaima
899175f48b split up arith.c 2021-05-24 21:35:53 +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