dzaima
95c8957dcc
move Cpy to %DEF mm
2024-02-04 23:31:29 +02:00
dzaima
e89d59c606
more proper error message
2024-02-04 23:27:28 +02:00
dzaima
7edcccdf82
initial pointer objects
2024-02-04 23:19:57 +02:00
dzaima
297302cad0
don't expand %USEs on automatic error message updating
2024-02-04 23:13:38 +02:00
dzaima
88f8daedbf
proper bi_optOut handling
2024-02-01 21:26:08 +02:00
dzaima
0f691138c9
basic fix for •ReBQN{primitives⇐⟨','‿+⟩}
2024-01-19 18:02:24 +02:00
dzaima
20185b57c5
fix nested •FFI calls, more FFI testing
2024-01-02 19:33:28 +02:00
dzaima
ca7e62d09f
fix •FFI with various arguments while mutable ones are present more
2024-01-02 18:30:33 +02:00
dzaima
381c03a456
fix •FFI with both a mutated & struct/array argument
2024-01-02 17:08:10 +02:00
dzaima
d93ec562f3
add more expected test results
2024-01-01 17:03:45 +02:00
dzaima
8321364afe
update test
...
currently CBQNs -𝕩 is 0-𝕩 and thus doesn't negate negative zero. ¯1×𝕩 could change to be such too, but whatever
2023-12-28 18:13:06 +02:00
dzaima
8c04a13458
test integer empty lists for ⍷ too
2023-12-28 00:07:46 +02:00
dzaima
629a7602b3
refactor variation testing in test/cases/prims.bqn
2023-12-27 19:57:37 +02:00
dzaima
b27618b5fa
slightly expanded ⍷ tests
2023-12-27 19:26:45 +02:00
dzaima
f0c1962596
more typed ⌾(list⊸⊏)
2023-12-19 17:41:17 +02:00
dzaima
2f57d9e801
fix import test
2023-12-11 14:21:23 +02:00
dzaima
653583eb1d
make •Import follow ReBQN
2023-12-11 14:02:38 +02:00
dzaima
56a6a08b97
import tests
2023-12-11 13:45:17 +02:00
dzaima
7851798516
more tests of 𝕨/𝕩
2023-12-09 15:39:30 +02:00
dzaima
b9b90fbe8f
improve error messages of o2i/o2i64/o2u64 & usum
2023-12-05 17:19:36 +02:00
dzaima
a439c64e85
fix error message of usum of i32arr encountering a negative element
2023-12-05 16:03:53 +02:00
dzaima
d7c153286e
gc tests, more reuse removal
2023-12-04 12:07:03 +02:00
Marshall Lochbaum
a22af96b17
More thorough •HashMap tests
2023-11-28 20:25:17 -05:00
Marshall Lochbaum
ce9f460e2c
•HashMap count and set functions
2023-11-28 10:33:41 -05:00
Marshall Lochbaum
8edc965686
•HashMap stub with linear lookup
2023-11-27 19:20:38 -05:00
dzaima
99890d16c7
state arg tests
2023-11-26 16:56:26 +02:00
dzaima
789064140b
use isStr more, include builtin name in bad path messages
2023-11-26 15:37:41 +02:00
dzaima
71ade3e9c6
add missed decrements, expand test
2023-11-26 01:27:36 +02:00
dzaima
3f62a51305
system value inheriting
2023-11-26 01:21:11 +02:00
dzaima
a93ea4dbaf
base •ReBQN and •BQN onto outer re
2023-11-25 23:39:58 +02:00
dzaima
7357820f19
start of compiler state refactoring
2023-11-25 23:21:32 +02:00
dzaima
f02c92ee6a
fix 3 ∨ "abc"
2023-11-23 18:13:51 +02:00
dzaima
b07a32d0da
actually test proper negative & positive NaNs
2023-11-22 22:51:53 +02:00
dzaima
c8cdaf0216
Clear assumption about assignment result in const-folder
2023-11-17 17:44:32 +02:00
dzaima
ad574d2269
refactor & document #define-s, always-available ')gc log' and ')mem log'
2023-10-31 03:16:48 +02:00
dzaima
08c4627686
fix dense case of •rand.Subset not updating seed
2023-10-30 17:03:38 +02:00
dzaima
a4befbd8bf
FFI: check for 𝕨 being present when required
2023-10-29 01:01:48 +03:00
dzaima
7ffd744375
reorganize file writing
...
fixes some unclosed file descriptors & files being made on an invalid argument
2023-10-28 19:27:00 +03:00
dzaima
577442449d
inverses for •math.Atan2, •math error tests
2023-10-22 14:33:51 +03:00
dzaima
e7b87f669f
fix arr÷negativeZero, set proper float expected values
2023-09-21 19:03:30 +03:00
dzaima
299168fb16
fast numarr÷scalarPowOf2
2023-09-12 23:57:50 +03:00
dzaima
22237d39bc
add test of misaligned •bit._cast
2023-08-25 03:08:21 +03:00
dzaima
8975f6af00
fast 1|x
2023-08-24 21:32:35 +03:00
dzaima
b8627907d0
fix passed test count more
2023-08-24 21:32:35 +03:00
dzaima
3e6e158696
native 𝕨⍷𝕩 when 1≥=𝕨 and 2≥=𝕩
2023-08-24 19:46:57 +03:00
dzaima
1d193f7e94
exclude skipped tests in count
2023-08-24 19:38:35 +03:00
dzaima
7c4599543b
test •platform
2023-08-19 18:25:52 +03:00
dzaima
ee1b487624
use exact desired bit pattern for NaN in test
2023-08-19 18:25:52 +03:00
dzaima
b237f170fb
bump for_build binary
...
hasn't been bumped since •file.RealPath was added, which Singeli currently conditionally uses (and thus won't in older for_build-s); now •file.RealPath will be guaranteed to exist at build-time
2023-08-19 18:25:52 +03:00
dzaima
6e2ec89102
verify assumptions made by tests of ¯0
2023-08-13 03:54:29 +03:00
dzaima
df56f6b2fc
fix 𝕨•FLines𝕩 with invalid elements in 𝕩
2023-08-13 03:51:06 +03:00
dzaima
7fe1ab930a
FFI: permit 𝕨≡⟨⟩, require 𝕩≡⟨⟩ if no arguments are on 𝕩, check list rank
2023-08-05 16:13:07 +03:00
dzaima
8e35241e47
Better error messages for unknown namespace key
2023-08-03 22:54:38 +03:00
dzaima
627a7e0771
more FFI error checking, plus bugfixes
2023-07-28 15:25:06 +03:00
dzaima
1bc96f5557
extract u8/u16/u32/f32 reading functions
2023-07-28 14:02:22 +03:00
dzaima
1454ca3a1a
expand & test FFI error checking
2023-07-28 13:59:25 +03:00
dzaima
ed07995e68
don't rely on thing that doesn't hold outside of Singeli SIMD-ful builds
2023-07-26 17:58:35 +03:00
dzaima
6305a3bd50
change error message of failed path_abs
2023-07-16 16:31:10 +03:00
dzaima
cf6a290e5c
•file.RealPath
2023-07-16 01:42:30 +03:00
dzaima
08bdf20bb9
update moreCfgs.sh test
2023-07-13 16:29:05 +03:00
dzaima
f0e807c40e
update expected test result
2023-07-13 16:20:31 +03:00
dzaima
b4153cf787
make test test for the correct thing
2023-07-10 23:39:49 +03:00
dzaima
eac297d4d9
actually add test/cases/perf.bqn (incl. a test of long⍋short)
2023-07-10 16:50:02 +03:00
dzaima
336f986986
change error messages in ◶
2023-06-12 00:52:09 +03:00
dzaima
d0b80d17bf
more complete •ToUTF8 & •FromUTF8 tests
2023-06-03 00:03:37 +03:00
dzaima
78bef5fe32
consistent 𝕨⊏𝕩 error messages across argument types
2023-05-30 14:28:36 +03:00
dzaima
c03dd349e4
disallow •ReBQN constructing namespaces, ignore RETD in interactive REPL
2023-05-27 16:37:42 +03:00
dzaima
40a164a43e
test failed •file.CreateDir & •file.Rename
2023-05-27 15:37:37 +03:00
dzaima
650be21129
run •internal.ClearRefs@ in tests
2023-05-24 15:41:23 +03:00
dzaima
3872f5a625
fix 𝕨∾𝕩 reuse logic
2023-05-22 11:40:37 +03:00
dzaima
f0744f16d0
fix erroring variable read
2023-05-22 00:11:21 +03:00
dzaima
e8caed529c
fix JIT SETUi/SETMi/SETCi missing unset variable checks
2023-05-22 00:08:20 +03:00
dzaima
de5bcfe211
static library
2023-05-21 23:47:40 +03:00
dzaima
e91f38a050
test system
2023-05-21 16:51:42 +03:00
dzaima
f472b4f5e4
update heapverify detection in test/cells.bqn
2023-05-19 13:12:48 +03:00
dzaima
de421fa6eb
more test rearrangement
2023-05-17 17:07:39 +03:00
dzaima
e79ac599ce
actually test arch=generic in test/moreCfgs.sh
2023-05-16 00:20:49 +03:00
dzaima
73cc5bba5f
more proper fix for wasm; test arch=generic in moreCfgs.sh
2023-05-16 00:15:08 +03:00
dzaima
a3e8a1388d
move all targets to build.bqn with Singeli & REPLXX enabled by default
2023-05-12 20:51:25 +03:00
dzaima
2c207dbebc
test an arithmetic function in test/cells.bqn
2023-04-30 00:53:32 +03:00
dzaima
77154be2a8
testing setup for ˘ & ⎉
...
incl. toggleable fill testing for !CATCH_ERRORS
2023-04-24 19:43:04 +03:00
dzaima
ecced53957
test usz=64
...
also fix MM=2 assertion
2023-04-06 18:17:59 +03:00
dzaima
c76adb8b35
default to •internal.EEqual comparing 0 and ¯0 as equal
2023-04-02 15:29:11 +03:00
dzaima
00a5ddcb89
SSE2 squeeze
2023-04-02 15:04:00 +03:00
dzaima
1aa2e4ec6b
add sse2 test to x86Cfgs.sh
2023-04-01 20:49:07 +03:00
dzaima
c1c50a97b0
move moreCfgs.sh to build/build
2023-03-23 18:31:23 +02:00
dzaima
b0201131e2
array type support for •FFI
2023-03-20 16:44:58 +02:00
dzaima
c5aedaa414
switch to GCv2, various fixes/cleanup
...
includes:
fixing some refcounts for FOR_BUILD build •FFI
moving DEBUG_VM prints to stderr
fixing heapverify reports of loose shape objects of fillarrs
regular ol' adding-of-semicolon-after-label for old gcc
move GC enable to after all initialization, not load_init
2023-03-05 01:23:53 +02:00
dzaima
74cfec9704
test native compiler in moreCfgs.sh
2023-01-30 23:43:48 +02:00
dzaima
539b0cced9
enable code running testing for NO_RT build in test/moreCfgs.sh
2023-01-25 15:40:53 +02:00
dzaima
6baa96c1e3
NEON squeeze
2023-01-25 02:22:53 +02:00
dzaima
7b3beec621
•ParseFloat
2022-12-31 20:22:22 +02:00
dzaima
c3fcee7ef0
fix test/precompiled.bqn once more
2022-11-24 01:32:08 +02:00
dzaima
966b78693b
fix test/precompiled.bqn
2022-11-18 00:16:34 +02:00
dzaima
c508e2ccd9
fix test/squeezeValid.bqn
2022-11-17 18:56:46 +02:00
dzaima
66ea63a49d
no need for manual heap-spraying-based tests anymore
2022-11-17 18:56:46 +02:00
dzaima
55e8a43297
fix test/mut.bqn leaking references
2022-11-17 18:56:46 +02:00
dzaima
721a0e4a79
update tests
2022-11-17 18:56:46 +02:00
dzaima
c1a77a24fb
fast (2⋆n)|ints
2022-11-03 15:35:41 +02:00
dzaima
bed2708537
move non-Singeli comparisons to function lookup
2022-10-27 19:27:15 +03:00
Marshall Lochbaum
e5a7dface4
Add •bit op fuzz tests
2022-10-17 09:39:38 -04:00
Marshall Lochbaum
d23d9b8c8f
•bit._cast fuzz tester, for refcount 1 lists
2022-10-17 09:39:38 -04:00
dzaima
86fa4a066e
FFI test for mutating a pointer within struct
2022-10-08 19:21:42 +03:00
dzaima
7e1c9b50cd
initial struct support
2022-10-08 19:08:20 +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
9c5396e711
consistently output WARN_SLOW information on stderr
2022-09-12 20:12:32 +03:00
dzaima
47c4a53da4
fix WARN_SLOW build
2022-09-12 18:19:05 +03:00
dzaima
f39784aa10
fix test/bitcpy.bqn
...
rand.Range is now too smart
2022-08-26 11:39:26 +03:00
dzaima
582ff8909b
@ •FFI 𝕩
2022-08-21 07:49:09 +03:00
dzaima
aa59c68b09
slightly more random test coverage
2022-08-17 19:35:41 +03:00
dzaima
c5b65b9246
typed •rand.Range
2022-08-17 18:53:41 +03:00
dzaima
26e3432caa
test/random.bqn → test/various.bqn
2022-08-17 16:20:55 +03:00
dzaima
9c1cbdc998
document expected fail for x86Cfgs.sh
2022-08-10 02:35:57 +03:00
dzaima
b39a725f4d
fix test/random.bqn
...
⥊ is now too smart
2022-08-10 02:35:41 +03:00
dzaima
fd1ac7487c
wyhash microoptimization
2022-08-05 03:08:39 +03:00
dzaima
88f65850fa
proper test order of precomp test
2022-07-26 04:54:15 +03:00
dzaima
162aff4595
another moreCfgs.sh test, print message if not given path argument
2022-07-10 02:13:14 +03:00
dzaima
3c2a7dbefa
high-rank in-place w∾x
2022-07-09 02:00:22 +03:00
dzaima
a6a1448382
bqn_copy & bqnffi.h comment cleanup
2022-06-30 17:44:01 +03:00
dzaima
859be5efb2
singeli chr_squeeze
2022-06-30 01:47:57 +03:00
dzaima
75bfa5d905
singeli num_squeeze
2022-06-30 01:47:50 +03:00
dzaima
4a9983d077
fix test/moreCfgs.sh
2022-06-26 23:53:56 +03:00
dzaima
a6081600ae
namespace reading functions for FFI
2022-06-25 17:32:41 +03:00
dzaima
51c9ded8b7
add argument descriptions to test/readTests.bqn
2022-06-04 02:25:18 +03:00
dzaima
8900d27e27
move old helper utilities to test/
2022-06-04 01:54:19 +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
5b2d221d0b
bqn_type
2022-05-29 18:46:59 +03:00
dzaima
04c2ce7ade
tests for bqnffi.h
2022-05-28 17:35:30 +03:00
dzaima
f7531f776c
⋆1 isn't constant apparently
2022-05-28 01:51:25 +03:00
dzaima
622a5468d8
remove old ffi.h
2022-05-28 00:15:33 +03:00
dzaima
12631cb142
ffi tests
2022-05-27 23:57:56 +03:00
dzaima
c7e0b59e88
print more things to stderr
2022-05-22 04:40:13 +03:00
dzaima
49060bd5e2
add FFI=0 for 32-bit test
2022-05-14 12:29:22 +03:00
dzaima
cee8e841f9
better fillarr creating in •internal.Variation
2022-05-01 02:49:10 +03:00
dzaima
7ece6b2179
unified int & char cases for ⊔
2022-05-01 01:35:16 +03:00
dzaima
1babdf247f
unified int & char cases for bitarr/x
2022-04-30 21:49:47 +03:00
dzaima
ffe9497157
remove old t=
2022-04-27 21:29:53 +03:00
dzaima
103f334b3e
randomize shape a bit in test/copy.bqn
2022-04-25 03:13:58 +03:00
dzaima
ab868a55f3
singeli copy
2022-04-25 03:06:11 +03:00
dzaima
6bce21b55c
fix generic squeeze case
2022-04-04 21:38:35 +03:00
dzaima
a52260715e
squeeze test
2022-04-04 17:00:54 +03:00
dzaima
a9331ef8f0
fast bit_cpy head & tail
2022-04-02 23:47:07 +03:00
dzaima
e031b069fb
test special float values
2022-04-02 20:00:34 +03:00
dzaima
36d5b8f9d8
tests
2022-04-02 18:20:18 +03:00