Commit Graph

104 Commits

Author SHA1 Message Date
dzaima
8e7f19a883 make cells test work under heapverify
disables checking whether the result is correct, which is not important during heapverify
2024-06-26 03:46:08 +03:00
dzaima
8d5efa72f0 testing of ˝˘ & `˘ 2024-06-26 03:18:23 +03:00
dzaima
4ab84c05f6 handle header […]←rank0 properly 2024-06-16 14:00:40 +03:00
dzaima
73123f5bde even faster »⎉1 & «⎉1 for narrow bitarr 𝕩 2024-06-06 23:36:45 +03:00
dzaima
52fb05fcd4 unify ⌾(a⊸⊏) typed array paths, fix csz==0 2024-05-20 01:03:57 +03:00
dzaima
9f6151d92d expand ⌾(a⊸⊏) tests, stylistic changes/cleanup 2024-05-19 02:14:08 +03:00
Andrea Piseri
99a23a97d8 Fix typo in the error message 2024-05-19 00:10:28 +02:00
Andrea Piseri
e66443d19f update expected error messages in test/cases/under.bqn 2024-05-19 00:07:58 +02:00
dzaima
5600bb189a fix ⟨1,2⋆62⟩/2⥊<⋈0 2024-04-20 21:24:51 +03:00
dzaima
de529e483b make non-Singeli getRange_f64 check first element for integerness 2024-04-20 21:21:47 +03:00
dzaima
a6a088868c fix ⟨⟩⍷⟨⟩ 2024-04-04 03:54:55 +03:00
dzaima
3870189f85 fix 3‿3⍒"a" & "aa"⍒3‿3 2024-04-04 03:54:55 +03:00
dzaima
74f3b5a012 fix (17⥊'⍉') ∊ 4⥊<"a" 2024-04-03 22:14:04 +03:00
dzaima
61e068086e fix (2⋆25)/(2⋆10)⥊10 2024-04-03 22:14:04 +03:00
dzaima
74d937a4fd fix +⌜´↕0 leaking a reference 2024-04-03 17:13:06 +03:00
dzaima
d4f290a897 error on nonInteger⌽⟨⟩ 2024-04-03 17:09:27 +03:00
dzaima
b8730798c1 explicitly handle empty cells in compress 2024-04-03 05:59:35 +03:00
dzaima
d77018f269 fix ⟨⟩⍷1‿0⥊0 2024-04-03 05:59:35 +03:00
dzaima
af0a40c732 fix ⍟ with empty typed repeat counts 2024-04-03 05:59:35 +03:00
dzaima
d21a77119f more verification of •bit._cast types, remove 'n' 2024-03-30 17:55:43 +02:00
dzaima
ac069134c3 fix ⟨1.5⟩ ⊏ "ab"‿"cd" 2024-03-25 16:18:01 +02:00
dzaima
a94903cb12 fix 𝕨⊏unit 2024-03-25 16:18:01 +02:00
dzaima
96cf03311a fix isPervasiveDyExt on 5˜ 2024-03-25 16:18:01 +02:00
dzaima
10a58878d7 fix GroupLen on array elements outside i64 range 2024-03-25 16:18:01 +02:00
dzaima
5a13b49ee6 FFI: properly error on read of *a:b 2024-02-16 04:16:42 +02:00
dzaima
9cb0ab2fbb Use getRange_fns for repeat_bounds 2024-02-08 19:25:30 +02:00
dzaima
7c1cc22f1e remove too-large FFI test cases
the limit is now 2^32, which is as much as readUInt reads
2024-02-08 15:27:14 +02:00
dzaima
b1e2e17edd even more FFI cleanup 2024-02-06 22:31:57 +02:00
dzaima
2b30010c25 disallow writing array to pointer within pointer object
and while at it move a global to an argument
2024-02-06 20:29:24 +02:00
dzaima
74f7e4701d disallow '&' outside of top-level type 2024-02-06 20:03:46 +02:00
dzaima
cb550bf885 more FFI cleanup 2024-02-06 15:17:49 +02:00
dzaima
b7f845300c some FFI error message changes 2024-02-06 15:16:29 +02:00
dzaima
b22c5d2883 get rid of sty_ptr 2024-02-05 04:51:12 +02:00
dzaima
7ab13e3c5a refactor BQNFFIEnt & BQNFFIType 2024-02-05 04:14:02 +02:00
dzaima
102874c43f support passing pointer objects to typed arguments 2024-02-05 01:29:49 +02:00
dzaima
a4c0424931 fix type equality checking on untyped pointer elements 2024-02-05 01:29:49 +02:00
dzaima
61f142a1fd type formatting for error messages 2024-02-05 01:29:49 +02:00
dzaima
7471c5c9f5 fix plain "&" argument being accepted 2024-02-05 00:34:55 +02:00
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
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