Commit Graph

166 Commits

Author SHA1 Message Date
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
b089337ee8 FFI: fix "&{*}" 2024-03-07 14:45:10 +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
d73fbbab99 extract size_t in test/ffi/test.bqn 2024-02-06 15:16:29 +02:00
dzaima
19f4b1293d test for struct containing pointers 2024-02-05 21:52:19 +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
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