dzaima
|
dbcd967e12
|
attempt at replxx-based printf
|
2023-01-12 17:13:42 +02:00 |
|
dzaima
|
6f394c41ff
|
windows: wide char printing
|
2023-01-09 02:00:22 +02:00 |
|
dzaima
|
a9c70d9d72
|
printing method overhaul
|
2023-01-09 01:42:44 +02:00 |
|
dzaima
|
b03bf80198
|
move Windows cases around
also don't make dir_create pretend it succeeds
|
2023-01-06 06:04:12 +02:00 |
|
actalley
|
815de4fd97
|
Address build errors on llvm-mingw to build bqn.exe with no SH, FFI, or repl support
|
2023-01-05 21:38:30 -06:00 |
|
dzaima
|
32f0a2f8fc
|
check file size for whether we can allocate it
also "takes care" of the case when the file is a directory
|
2022-12-31 21:04:19 +02:00 |
|
dzaima
|
7d4677a8ff
|
use COPY_TO instead of a loop in fbytes_c1
& ryu comment changes
|
2022-12-31 20:49:50 +02:00 |
|
dzaima
|
7b3beec621
|
•ParseFloat
|
2022-12-31 20:22:22 +02:00 |
|
dzaima
|
fd38a5b241
|
use Ryu for number formatting
|
2022-12-31 03:19:06 +02:00 |
|
dzaima
|
8a132467d2
|
improve EACH_FILLS cases in ¨ & ⌜
|
2022-12-28 22:38:14 +02:00 |
|
dzaima
|
3b1b171828
|
don't need copying from bitarr to character arr
|
2022-12-28 16:17:16 +02:00 |
|
dzaima
|
75fe558f1c
|
detect writes past the end of a TALLOC allocation
|
2022-12-27 02:29:24 +02:00 |
|
dzaima
|
bb7fe02a45
|
separate checks for x86-64 & NEON Singeli importing
& restrict the processed Singeli files on NEON to the ones supported
|
2022-12-24 15:27:53 +02:00 |
|
dzaima
|
6d79ce9fb1
|
use arch-independent names for things suppported on both x86-64 & NEON
|
2022-12-24 15:26:05 +02:00 |
|
dzaima
|
d38316e670
|
BQN-based build system
|
2022-12-23 23:09:55 +02:00 |
|
dzaima
|
09b3279958
|
unified Singeli including mechanism
|
2022-12-18 01:54:07 +02:00 |
|
dzaima
|
40f36fa366
|
Singeli-generated table for bits.singeli
|
2022-12-17 17:51:56 +02:00 |
|
dzaima
|
2c73199ed4
|
use Singeli-generated function tables for comparison
|
2022-12-16 19:04:58 +02:00 |
|
dzaima
|
7c6676a492
|
copy over custom _mm_loadu_si32 for old gcc
|
2022-12-01 13:37:01 +02:00 |
|
dzaima
|
d383fe57a7
|
clean up whitespace
|
2022-11-24 01:26:35 +02:00 |
|
dzaima
|
24195780df
|
reorder headers to allow OpenBSD hack to function
|
2022-11-20 18:22:51 +02:00 |
|
dzaima
|
e5a9c7536d
|
array tail overwriting checker
|
2022-11-17 18:56:46 +02:00 |
|
dzaima
|
aee745a7d6
|
fix argument names of C2
|
2022-11-17 18:13:29 +02:00 |
|
dzaima
|
db89e7a4bb
|
fix function signatures & M1C2; use C1 & bit_negate more
|
2022-11-17 17:52:19 +02:00 |
|
Marshall Lochbaum
|
d6b09adb57
|
Add primitive and primitive-1modifier call macros to calls.h
|
2022-11-15 16:08:34 -05:00 |
|
dzaima
|
8e631d7177
|
always take size in mm_alloc as u64
|
2022-11-14 22:42:32 +02:00 |
|
dzaima
|
a9737c22ea
|
extract bit array negation to function
|
2022-11-14 19:47:53 +02:00 |
|
Marshall Lochbaum
|
801472d6d4
|
Implement bit_cpy versions of the Group methods that use memcpy
|
2022-11-10 14:52:45 -05:00 |
|
dzaima
|
fdbd36250b
|
noinline writeNum, use loop instead of generated code
|
2022-11-06 03:17:31 +02:00 |
|
dzaima
|
4daabd708a
|
introduce calls.h, move vec_addN and vec_join to core header
and remove a bunch of apparently unnecessary mut.h imports
|
2022-11-02 23:17:52 +02:00 |
|
dzaima
|
8d6172126c
|
use void* instead of u8* for singeli function arguments
|
2022-10-25 17:27:08 +03:00 |
|
Marshall Lochbaum
|
e318830365
|
Dyadic ⊒ implementation with a generic hash table
|
2022-10-23 22:08:08 -04:00 |
|
dzaima
|
cc467ce8ca
|
cleanup
|
2022-10-23 13:14:36 +03:00 |
|
dzaima
|
83af05d274
|
fix building on gcc≤10
|
2022-10-10 13:53:56 +03:00 |
|
dzaima
|
702d4e979d
|
various utility changes
|
2022-10-08 19:03:41 +03:00 |
|
dzaima
|
2bb6750d7d
|
better bitarr fill
|
2022-09-24 19:31:46 +03:00 |
|
dzaima
|
608489aed1
|
fix gcc singeli build
|
2022-09-24 19:30:10 +03:00 |
|
dzaima
|
c0cf58ffc2
|
use existing function for 8-bit utf8Decode
|
2022-09-18 20:17:20 +03:00 |
|
dzaima
|
d3a1fee437
|
singeli bit_sel
|
2022-09-08 21:39:51 +03:00 |
|
dzaima
|
d60713225b
|
just use u64 in bitsel
|
2022-09-08 20:25:09 +03:00 |
|
dzaima
|
96ca9092ba
|
attempt at better bit_sel dispatch
|
2022-09-08 00:37:44 +03:00 |
|
dzaima
|
59e947cc20
|
more consistent type checking & conversion functions
|
2022-09-07 23:56:03 +03:00 |
|
dzaima
|
5d660cbf19
|
deduplicate hashmap size doubling function
|
2022-09-07 19:32:02 +03:00 |
|
dzaima
|
1a583725be
|
use TALLOCP in other places
|
2022-09-07 17:59:17 +03:00 |
|
Marshall Lochbaum
|
f877a45a63
|
Vectorize range checks for 1- and 2-byte indices
|
2022-09-06 16:34:08 -04:00 |
|
dzaima
|
0b4259559c
|
include errno.h in file.c unconditionally
|
2022-09-06 00:08:55 +03:00 |
|
dzaima
|
bd04e38a5e
|
use existing copy functions for arr_join_inline
|
2022-09-01 19:52:51 +03:00 |
|
dzaima
|
dad47cf391
|
move arith_recd to a noinline function
|
2022-09-01 18:51:02 +03:00 |
|
dzaima
|
5a162c7929
|
macos-specific sub-second file times
|
2022-08-26 22:46:00 +03:00 |
|
dzaima
|
2939395906
|
fallback file time getting method
|
2022-08-26 22:31:10 +03:00 |
|
dzaima
|
81e09956d3
|
•file.Size, make •file.List decode UTF-8
invalid UTF-8 is a problem for the future
|
2022-08-26 13:37:51 +03:00 |
|
dzaima
|
d12a53fd08
|
•file.Created, •file.Accessed, •file.Modified
|
2022-08-25 22:29:03 +03:00 |
|
dzaima
|
905a9f78d4
|
{raw⇐1} •SH 𝕩
|
2022-08-25 22:27:35 +03:00 |
|
dzaima
|
5be18bb180
|
fix ∾⟨"ab",1⟩
|
2022-08-23 17:16:07 +03:00 |
|
dzaima
|
eb9550aa29
|
•file.Parent
|
2022-08-22 15:30:37 +03:00 |
|
dzaima
|
aa95b6add4
|
actually use TY(x) / PTY(x) more
|
2022-08-21 16:11:40 +03:00 |
|
dzaima
|
4ed814e395
|
cleanup of new field reading macros
|
2022-08-20 09:04:22 +03:00 |
|
dzaima
|
1694bfb7d2
|
s?p?rnk(x) → S?P?RNK(x)
|
2022-08-20 08:36:59 +03:00 |
|
dzaima
|
d2a4efe4b5
|
x->sh → SH(x) / PSH(x)
|
2022-08-20 08:30:07 +03:00 |
|
dzaima
|
e6b4f85662
|
x->ia → IA(x) / PIA(x)
|
2022-08-20 08:30:03 +03:00 |
|
dzaima
|
719d37cd63
|
reorder eachm_fn and eachd_fn args
|
2022-08-18 11:18:34 +03:00 |
|
dzaima
|
b1300e6e76
|
yet another string function rename
|
2022-08-18 09:07:32 +03:00 |
|
dzaima
|
bac1eaf9e3
|
squeeze result of ¨
|
2022-08-05 03:19:12 +03:00 |
|
dzaima
|
fd1ac7487c
|
wyhash microoptimization
|
2022-08-05 03:08:39 +03:00 |
|
dzaima
|
98e3021efb
|
fix bit boolean array hash only using the first 1/8 of the array
|
2022-08-04 02:55:19 +03:00 |
|
dzaima
|
58f8772bd3
|
use singeli copy functions for mut copyG
|
2022-07-26 00:18:00 +03:00 |
|
dzaima
|
d959482d44
|
move generic array copy to its own function
|
2022-07-25 05:21:14 +03:00 |
|
dzaima
|
c1b66c5982
|
don't bother iterating through generic array items in cpy.*Arr on free
|
2022-07-24 00:05:42 +03:00 |
|
dzaima
|
29fe3206cd
|
fix path_rel with empty base path
|
2022-07-15 23:25:49 +03:00 |
|
dzaima
|
aabaac977b
|
more strict freed memory handling for valgrind
|
2022-07-10 02:40:43 +03:00 |
|
dzaima
|
eb5b32319f
|
make ∨`𝕩 run under valgrind
|
2022-07-10 02:01:59 +03:00 |
|
dzaima
|
041a87ff98
|
make valgrind accept /𝕩 and 𝕨/𝕩 impls
|
2022-07-10 01:51:15 +03:00 |
|
dzaima
|
0684fe5fcb
|
some fixes for ubsan
|
2022-07-10 01:43:21 +03:00 |
|
dzaima
|
9a00da6369
|
deduplicate ia writing
|
2022-07-09 02:18:22 +03:00 |
|
dzaima
|
3c2a7dbefa
|
high-rank in-place w∾x
|
2022-07-09 02:00:22 +03:00 |
|
dzaima
|
fadde40f78
|
more incG
|
2022-06-26 23:48:30 +03:00 |
|
dzaima
|
1fd88c1749
|
clean up ascii/utf8 functions
|
2022-06-15 15:31:57 +03:00 |
|
dzaima
|
8a84726e6e
|
fix wasm build
|
2022-06-12 22:33:59 +03:00 |
|
dzaima
|
5a32a00f46
|
more checks of NO_MMAP
|
2022-06-12 22:12:08 +03:00 |
|
dzaima
|
025043b84e
|
make arr_shVec return its argument
|
2022-06-10 00:08:13 +03:00 |
|
dzaima
|
a298bc3018
|
more function name cleanup
|
2022-06-09 18:12:15 +03:00 |
|
dzaima
|
5636c1e2ca
|
clean up some function names
|
2022-06-09 04:10:46 +03:00 |
|
dzaima
|
2359e54661
|
a bit saner heap format
|
2022-06-09 04:10:23 +03:00 |
|
dzaima
|
b865eb84ba
|
make known type mut functions take data pointer instead of Mut*
|
2022-06-08 03:48:31 +03:00 |
|
dzaima
|
f74f355360
|
explicit switches in mut.h & update comments
|
2022-06-08 01:00:02 +03:00 |
|
Antti Keränen
|
8923f6a3b8
|
ffi: make bqn_evalCStr use a constant string
|
2022-06-05 10:22:13 +03:00 |
|
dzaima
|
572bc04459
|
move interrupt check to its own header
|
2022-06-03 16:02:02 +03:00 |
|
dzaima
|
3dd1bffe2f
|
don't unroll arr_csz
|
2022-05-29 13:57:03 +03:00 |
|
dzaima
|
093958f92a
|
Merge pull request #21 from dzaima/ffi
FFI
|
2022-05-28 01:29:21 +03:00 |
|
Paul A. Patience
|
e684c64847
|
Add •file.Remove
|
2022-05-13 21:18:47 -04:00 |
|
Paul A. Patience
|
fdeae8fbfe
|
Add •file.Rename
|
2022-05-12 18:19:23 -04:00 |
|
dzaima
|
a601ba6a76
|
very unfinished FFI
|
2022-05-11 22:30:14 +03:00 |
|
dzaima
|
409524d958
|
noinline version of vec_add
|
2022-05-11 18:31:49 +03:00 |
|
dzaima
|
ec273f2102
|
fix •file.CreateDir
|
2022-05-10 14:19:15 +03:00 |
|
dzaima
|
63bd4a876e
|
•file.CreateDir
|
2022-05-09 22:57:37 +03:00 |
|
dzaima
|
3496a939b6
|
more switch cleanup
|
2022-05-01 04:47:21 +03:00 |
|
dzaima
|
f12e5fd1c0
|
move bqn_hash back to header
|
2022-05-01 04:36:59 +03:00 |
|
dzaima
|
3f787e3845
|
the tag includes type info anyways
|
2022-05-01 04:32:16 +03:00 |
|
dzaima
|
782750fd88
|
bqn_hash refactor
|
2022-05-01 04:21:17 +03:00 |
|
dzaima
|
ab868a55f3
|
singeli copy
|
2022-04-25 03:06:11 +03:00 |
|