dzaima
5cde913c78
•CurrentError
2022-01-08 21:55:19 +02:00
dzaima
588350d85b
native dyadic ˘
2022-01-06 04:39:09 +02:00
dzaima
6672d95ea8
fix c2iW/c2iX, )internalPrint
2022-01-06 03:51:21 +02:00
dzaima
6c4208f79d
remove unused rt_merge
2022-01-06 01:22:31 +02:00
dzaima
ade183e635
bunch of header file changes
2022-01-06 01:17:10 +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
4d6369af06
remove fwTotal compensation
...
can cause overflows
2022-01-02 16:33:01 +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
0690ae114a
wrap non-native builtins in cases that they exist
2022-01-01 15:33:41 +02:00
dzaima
2602a6499d
rename block types
2021-12-31 17:48:19 +02:00
dzaima
08f04a8521
pass untagged pointer to under functions
2021-12-30 21:52:29 +02:00
dzaima
c7a6176be3
store untagged modifier in derived function object
2021-12-30 03:01:02 +02:00
dzaima
14d298231f
all native builtins
2021-12-30 02:28:20 +02:00
dzaima
b656c9aa44
#define → typedef
2021-12-30 02:18:25 +02:00
dzaima
d68e278083
move nsTime to its own file
2021-12-29 19:49:16 +02:00
dzaima
81a47f1386
fix genRuntimeSrc
2021-12-28 00:07:08 +02:00
dzaima
0552ffbf37
make sorting set sorted flags
2021-12-25 18:24:22 +02:00
dzaima
7e39407eb4
reorder v_setI
2021-12-25 18:10:47 +02:00
dzaima
bebf1e4255
error location for autogenerated FAIL bodies
...
and also more )gc things
2021-12-25 18:01:52 +02:00
dzaima
04a530a532
fix ⍉f64arr
2021-12-20 18:29:20 +02:00
dzaima
3d5a92c1f3
faster integer squeeze
2021-12-20 00:53:13 +02:00
dzaima
44dc602425
native rank>2 ⍉
2021-12-20 00:52:53 +02:00
dzaima
7cc88fae9c
native rank 2 ⍉
2021-12-19 16:43:37 +02:00
dzaima
88c5a16678
native monadic ⎉
2021-12-19 15:26:21 +02:00
dzaima
d873ce0d81
fix hash for bitarrs
2021-12-19 14:55:21 +02:00
dzaima
7c9439690b
complete
2021-12-19 01:47:52 +02:00
dzaima
9054cf0b54
make vec_join be mostly not inlined
2021-12-19 01:45:05 +02:00
dzaima
7e89e190f2
)vars
2021-12-19 01:32:36 +02:00
dzaima
1770251bad
singeli + & - & ×
2021-12-18 22:30:00 +02:00
dzaima
0c5b98772c
m_harrs → M_HARR
2021-12-17 18:04:19 +02:00
dzaima
12250ef202
changes to •ReBQN
2021-12-17 14:39:51 +02:00
Marshall Lochbaum
7b2c79fb87
Implement •primitives
2021-12-16 17:57:05 -05:00
Marshall Lochbaum
89e8cf5a6c
Implement •ReBQN 𝕩.primitive processing
2021-12-16 14:29:19 -05:00
Marshall Lochbaum
9e5f488642
Allow custom compiler/runtime for non-REPL •ReBQN too
2021-12-16 14:29:19 -05:00
Marshall Lochbaum
4d394ea441
Store compiler and runtime in •ReBQN result
2021-12-16 14:29:19 -05:00
Marshall Lochbaum
5c2a921e56
Switch from fixed-primitives compiler (c) to variable (cc)
2021-12-16 14:29:19 -05:00
dzaima
b4425508c3
fix merge refcounting
2021-12-16 17:33:29 +02:00
dzaima
c4230ead74
remove duplicate definition
2021-12-16 12:29:25 +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
c68858ba90
various fixes for ⊑
2021-12-16 09:14:13 +02:00
dzaima
8a1ccc7198
native ⊑; f⌾(v⊸⊏) f64arr
2021-12-15 14:03:02 +02:00
dzaima
e7662b0f6a
separate array & scalar cases in arith builtins
2021-12-13 00:16:23 +02:00
dzaima
9044cd0ef0
allow high-rank 'a' in native F⌾(a⊸⊏)
2021-12-12 23:33:02 +02:00
dzaima
9e6b8ecaae
throw error on reaching heap size limit if reasonable
2021-12-12 23:29:09 +02:00
dzaima
cd07af4e8b
add g_pst gdb utility
2021-12-12 23:21:22 +02:00
dzaima
1b1fe2ba57
BMI2 bitarr/bitarr
2021-12-12 23:11:07 +02:00
dzaima
56d148832e
support unsorted argument for /⁼
2021-12-12 17:25:14 +02:00
dzaima
1b878ccdb6
better readme
2021-12-10 22:49:04 +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
3da8302249
cast ptrdiff to i64
2021-12-10 21:40:13 +02:00
dzaima
d0f4773120
use correct type for m_nns computation
2021-12-10 21:38:33 +02:00
dzaima
b9232a1f68
fix handling of first element in /⁼
2021-12-06 11:01:52 +02:00
dzaima
9af0d4b66f
don't inline hashmap size doubling function
2021-12-05 19:25:54 +02:00
dzaima
0b42b35d51
use variable in FL_KEEP
2021-12-03 14:29:41 +02:00
dzaima
3c09781d1a
)gc, )mem
2021-12-01 17:09:19 +02:00
dzaima
c8b15987b5
optimize mm_allocS
2021-11-30 17:13:07 +02:00
dzaima
f81b680aad
NOTM
2021-11-29 22:40:12 +02:00
dzaima
736861dd29
use native namespace to initialize REPL
2021-11-29 17:49:29 +02:00
dzaima
4f66b6b88a
native namespace creation
2021-11-29 16:44:20 +02:00
dzaima
ef5864afbc
global name list
2021-11-29 00:21:41 +02:00
dzaima
4af5f3d4a6
store Value* as gc roots
2021-11-28 21:56:01 +02:00
dzaima
94e38e7162
fix import A →import B; import A
2021-11-26 12:23:46 +02:00
dzaima
4697b91b1e
fix >2 repeated imports & error on cyclical importing
2021-11-26 00:25:11 +02:00
dzaima
d032c97b13
cache monadic •Import
2021-11-26 00:01:37 +02:00
dzaima
0389eda29b
inverse modifiers
2021-11-25 00:24:16 +02:00
dzaima
b76d30d4bc
add •state and •name
2021-11-24 23:03:17 +02:00
dzaima
097f39da15
make •Type throw on bi_optOut
2021-11-23 10:30:13 +02:00
dzaima
996114a73b
make file writing accept characters
2021-11-23 01:16:46 +02:00
dzaima
77144cd79c
•math function inverses
2021-11-23 01:10:08 +02:00
dzaima
29bf1f1234
don't pointlessly copy register
2021-11-22 11:22:50 +02:00
dzaima
7168633f35
lGPos is set by following GET
2021-11-22 11:11:35 +02:00
dzaima
55c1d79d86
headers for immediate modifiers
2021-11-22 10:56:18 +02:00
dzaima
b000576572
native /⁼
2021-11-22 00:24:59 +02:00
dzaima
c2e6c57007
cache builtin inverses
2021-11-21 23:24:41 +02:00
dzaima
ab49bb5d3d
native -⁼
2021-11-21 22:54:07 +02:00
dzaima
f155792856
native ⁼
2021-11-21 21:27:08 +02:00
dzaima
f55e349999
inverse headers
2021-11-21 21:03:14 +02:00
dzaima
896049ab12
directly call scope_freeF from scope_dec
2021-11-20 17:30:09 +02:00
dzaima
cd97714ef5
ptr_dec with inlined freeing method
2021-11-20 17:09:05 +02:00
dzaima
ff6e6aa9c7
clean up evalBC
2021-11-20 16:56:54 +02:00
dzaima
c79e260e34
m_v[1234] → m_hVec[1234]
2021-11-20 01:05:14 +02:00
dzaima
5484c109ea
return value from ptr_inc
2021-11-20 00:58:18 +02:00
dzaima
2baa9ac196
fix & speed up variable modification fns
2021-11-18 01:10:30 +02:00
dzaima
3ba3558c93
fills for monadic ⋈
2021-11-13 23:00:36 +02:00
dzaima
68e1590325
machine code generation rework
2021-11-12 16:43:19 +02:00
dzaima
fde8f89354
remove _Thread_local because plenty other things don't have it
2021-11-07 19:01:29 +02:00
dzaima
ae07fd2312
remove pos updating for immediate SETN
2021-11-07 18:45:57 +02:00
dzaima
cd866e1e45
lazy fallback to runtime on ∾ errors
2021-11-06 17:30:01 +02:00
dzaima
049188d8a6
complete native ⋈
2021-11-03 20:44:43 +02:00
dzaima
8cfbaf8b30
enum of primitive numbering
2021-11-03 20:28:00 +02:00
dzaima
dd3965cb3c
⋈
2021-11-03 20:16:04 +02:00
dzaima
a663c0bbee
reorder md*Bl_d
2021-11-03 19:08:24 +02:00
dzaima
9bcf8d7d64
bl_m*d → md*Bl_d
2021-11-02 18:34:34 +02:00
dzaima
6aaaaeb39c
more consistent print method naming scheme
2021-11-02 18:32:25 +02:00
dzaima
ce36f03f11
fix •SH for OSX
2021-11-01 19:51:44 +02:00
dzaima
026b15977b
make precompiled.bqn run within CBQN
2021-10-30 12:05:38 +03:00
dzaima
f9253a477e
fix zero printing
2021-10-28 22:03:51 +03:00
dzaima
0deb5cfcd4
add missing bytecodes to FOR_BC
2021-10-28 21:55:18 +03:00