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 |
|
dzaima
|
06c7e40642
|
⋄ → ; in DEBUG_VM
|
2021-10-28 21:22:15 +03:00 |
|
dzaima
|
470bb0968a
|
use hex in printBC
|
2021-10-28 21:21:25 +03:00 |
|
dzaima
|
e526fede86
|
clean up DEBUG_VM
|
2021-10-28 20:46:30 +03:00 |
|
dzaima
|
dba145a14b
|
rename folder
|
2021-10-28 17:50:10 +03:00 |
|
dzaima
|
dfa04f4922
|
properly free 𝕩 when needed
|
2021-10-26 16:15:33 +03:00 |
|
dzaima
|
8eb3989d84
|
separate avx file
|
2021-10-25 16:18:03 +03:00 |
|
dzaima
|
071aebd8ea
|
god dammit c compilers, why
|
2021-10-25 15:45:28 +03:00 |
|
dzaima
|
798f6e9e17
|
move length zero check outside singeli
|
2021-10-25 14:00:01 +03:00 |
|
dzaima
|
4e17e28d4a
|
get rid of function pointer cast
|
2021-10-25 13:40:40 +03:00 |
|
dzaima
|
4717023167
|
cmp C cleanup, assert length!=0 before while
|
2021-10-25 12:27:21 +03:00 |
|
dzaima
|
f8798affc4
|
full array-scalar comparison error checking in singeli
|
2021-10-25 01:59:25 +03:00 |
|
dzaima
|
3e372620a2
|
array-scalar comparison function lookup table
|
2021-10-24 21:12:39 +03:00 |
|
dzaima
|
d42dd3dcf9
|
merged typed types
|
2021-10-22 17:11:54 +03:00 |
|
dzaima
|
4ca34e3f8e
|
function lookup table
|
2021-10-22 09:53:40 +03:00 |
|
dzaima
|
5d76148c51
|
lazy singeli bit comparison fns
|
2021-10-22 00:58:34 +03:00 |
|
dzaima
|
71c454235c
|
singeli
|
2021-10-22 00:17:44 +03:00 |
|
dzaima
|
f50b8ab503
|
fix fill of n↑fillarr
|
2021-10-20 18:29:28 +03:00 |
|
dzaima
|
e38e4f89ae
|
overallocate heap
|
2021-10-19 18:12:27 +03:00 |
|
dzaima
|
044431bb7d
|
less bad way of doing JIT jumps
|
2021-10-16 13:08:00 +03:00 |
|
dzaima
|
ef230f8dc0
|
remove static from function that isn't
|
2021-10-15 12:08:48 +03:00 |
|
dzaima
|
5c59f0de6f
|
make precompiled.bqn work
|
2021-10-14 18:34:28 +03:00 |
|
dzaima
|
1816b6cd5d
|
changes to rand.Range
|
2021-10-13 23:01:37 +03:00 |
|
Josh Holland
|
a290e4dc0d
|
support arbitrary shape in rand.Range
|
2021-10-13 20:48:45 +01:00 |
|
dzaima
|
49622f59ce
|
fix •wdpath refcounting
|
2021-10-12 00:56:42 +03:00 |
|
dzaima
|
d4f183ccda
|
•wdpath, path_resolve → path_rel
|
2021-10-12 00:53:54 +03:00 |
|
dzaima
|
d98cb0b80a
|
dyadic •file.At
|
2021-10-12 00:34:44 +03:00 |
|
dzaima
|
6860ba5f9d
|
make some more flags compile
|
2021-10-11 22:39:52 +03:00 |
|
dzaima
|
363309a218
|
some cleanup
|
2021-10-11 21:50:16 +03:00 |
|
dzaima
|
1072a8aa77
|
break less on recursive errors
|
2021-10-10 23:24:53 +03:00 |
|
dzaima
|
b7f60ffb1c
|
move GC tag resetting from alloc to another pass
|
2021-10-10 23:11:49 +03:00 |
|
dzaima
|
a62a41249e
|
native ◶
|
2021-10-10 22:54:39 +03:00 |
|
dzaima
|
5c2dfe8e18
|
verify path & arguments to be strings
|
2021-10-10 18:21:01 +03:00 |
|
dzaima
|
2c77470d99
|
dyadic •BQN
|
2021-10-10 17:48:39 +03:00 |
|
dzaima
|
debc4e2afe
|
don't truncate max stack size
|
2021-10-09 14:47:26 +03:00 |
|
dzaima
|
71de4fcc59
|
don't use x++ on bool
|
2021-10-04 16:19:46 +03:00 |
|
sternenseemann
|
3909dca0cc
|
builtins/sfns.c: fix compilation with GCC
B is interpreted as a label by GCC unless we make the block explicit by
surrounding it with curly braces.
|
2021-10-04 15:05:18 +02:00 |
|
dzaima
|
dc535763bc
|
•_while_
|
2021-10-04 15:13:39 +03:00 |
|
dzaima
|
e0b987930f
|
fix error message of ⍟
|
2021-10-04 13:59:33 +03:00 |
|
dzaima
|
561199ab16
|
fast 𝕨∨´𝕩 and 𝕨∧´𝕩
|
2021-10-04 11:15:21 +03:00 |
|
dzaima
|
85d27ddc83
|
fast 𝕨≠`𝕩
|
2021-10-04 11:11:40 +03:00 |
|
dzaima
|
573b97f60b
|
fast ∧´
|
2021-10-04 00:23:53 +03:00 |
|
dzaima
|
f0c6671ec0
|
fast ∨´
|
2021-10-04 00:10:24 +03:00 |
|
dzaima
|
3d23d8ef70
|
fast ≠`
|
2021-10-03 23:57:43 +03:00 |
|
dzaima
|
5224e03a1d
|
deduplicate & and | impls in arithd.c
|
2021-10-03 23:31:37 +03:00 |
|
dzaima
|
1bca264db8
|
bitarrs
|
2021-10-03 23:18:30 +03:00 |
|
dzaima
|
3725bd58c7
|
hide unknown stackframes in non-debug mode
|
2021-10-01 23:08:48 +03:00 |
|
dzaima
|
34fb5c275a
|
manual tables for bytecode switches
|
2021-10-01 22:48:33 +03:00 |
|
dzaima
|
ad436a07ee
|
fix PRED in nested blocks
|
2021-10-01 20:25:23 +03:00 |
|
dzaima
|
bc7e7e3627
|
copy special name fix to ns_qgetU
|
2021-10-01 20:08:03 +03:00 |
|
dzaima
|
c4cc861054
|
fix namespace assignment to special name list
|
2021-10-01 19:59:55 +03:00 |
|
dzaima
|
07ae36e672
|
faster loop when not yet seen PRED
|
2021-10-01 19:01:28 +03:00 |
|
dzaima
|
89c19662d8
|
argument remapping for PRED
|
2021-10-01 18:52:03 +03:00 |
|
dzaima
|
dac6f29a41
|
more eachd_fn and eachm_fn out of header file
|
2021-09-30 20:24:14 +03:00 |
|
dzaima
|
1c83483d53
|
fix formatter incorrectly consuming an argument
|
2021-09-29 21:19:21 +03:00 |
|
dzaima
|
dc1295afb7
|
fix SETH in immediate bodies
|
2021-09-28 18:17:12 +03:00 |
|
dzaima
|
9631702b14
|
PRED
|
2021-09-28 18:09:22 +03:00 |
|
dzaima
|
eca2a7eca4
|
wrap MAP_FIXED_NOREPLACE in an ifdef
|
2021-09-26 22:41:41 +03:00 |
|
dzaima
|
751652c392
|
alternative JIT memory allocation if MAP_32BIT isn't sufficient
|
2021-09-26 22:00:19 +03:00 |
|
dzaima
|
7600431fa6
|
fix slow small array checks
|
2021-09-26 14:26:37 +03:00 |
|
dzaima
|
01b36e927f
|
monadic arith slow warnings
|
2021-09-26 13:55:44 +03:00 |
|
dzaima
|
d2ea19c757
|
more slow warns
|
2021-09-26 13:36:37 +03:00 |
|
dzaima
|
797a848ed4
|
warn slow for unknown scans & folds & ⍋
|
2021-09-26 01:04:18 +03:00 |
|
dzaima
|
2ddfc43682
|
function to print a sequence of bytecode
|
2021-09-25 23:19:23 +03:00 |
|
dzaima
|
084eaaecbd
|
SETC
|
2021-09-25 23:05:15 +03:00 |
|
dzaima
|
4f0841c95e
|
make -p use bqn_fmt
|
2021-09-25 22:25:41 +03:00 |
|
dzaima
|
28f40e5368
|
slow notes
|
2021-09-25 20:39:06 +03:00 |
|
dzaima
|
a91e351aee
|
fix deep squeeze
|
2021-09-25 19:34:48 +03:00 |
|
dzaima
|
02605fe271
|
more tyarrTemplate.h instancing out of core.h
|
2021-09-25 15:53:42 +03:00 |
|
dzaima
|
a8c5dd6581
|
better squeezing
|
2021-09-25 15:26:06 +03:00 |
|
dzaima
|
ecb8af658b
|
fix squeezing of ¯2147483648
|
2021-09-25 14:52:35 +03:00 |
|
dzaima
|
4bdc1ec3cd
|
squeeze objects
negative effect on performance, but whatever
|
2021-09-25 14:39:48 +03:00 |
|
dzaima
|
a15f66c43b
|
rename formatting functions
|
2021-09-25 13:53:53 +03:00 |
|
dzaima
|
749b3e1e81
|
Type to macro
|
2021-09-25 13:08:25 +03:00 |
|
dzaima
|
c492de413f
|
fix ⌾⥊ error check
|
2021-09-25 02:52:26 +03:00 |
|