Commit Graph

102 Commits

Author SHA1 Message Date
dzaima
307be40ac7 ensure accessible memory around mmapped files 2025-06-15 03:41:58 +03:00
dzaima
2adb0a3586 --disable-jit flag
will be less efficient than if compiled with -DJIT_ENABLED=0, but better than nothing
2025-05-28 02:13:22 +03:00
dzaima
e398d127d4 fix comment 2025-05-24 16:40:09 +03:00
dzaima
7a5f42a7f0 cleanup
that build.bqn TODO has been completed for a while
2024-12-03 18:38:48 +02:00
dzaima
3ed6241609 don't attempt to use BMI2 on x86-32 2024-10-09 03:31:20 +03:00
dzaima
b69f65081d vector → list 2024-09-09 17:55:26 +03:00
dzaima
0106f04495 make getPageSize return ux 2024-08-27 20:20:34 +03:00
dzaima
79ea9ec02c ensure desired updating order between envCurr and its pointed-to data 2024-03-25 16:18:01 +02:00
dzaima
88f8daedbf proper bi_optOut handling 2024-02-01 21:26:08 +02:00
dzaima
c078f62b1f add GLOBAL, INIT_GLOBAL, or const to globals 2024-02-01 21:13:39 +02:00
dzaima
add8ba353e require MAP_FIXED_NOREPLACE on linux for JIT 2023-12-26 02:53:47 +02:00
dzaima
a3a9403b59 fix paths shown in error stacktraces 2023-12-13 21:59:23 +02:00
dzaima
a93ea4dbaf base •ReBQN and •BQN onto outer re 2023-11-25 23:39:58 +02:00
dzaima
5e455372f0 more renaming & shuffling of things 2023-11-25 23:21:32 +02:00
dzaima
db0bb1378c rearrange Body fields to pack better 2023-11-24 16:00:11 +02:00
dzaima
1d8479b589 apparently nothing uses the bc field in Comp anymore 2023-11-24 15:30:47 +02:00
dzaima
ad574d2269 refactor & document #define-s, always-available ')gc log' and ')mem log' 2023-10-31 03:16:48 +02:00
dzaima
c03dd349e4 disallow •ReBQN constructing namespaces, ignore RETD in interactive REPL 2023-05-27 16:37:42 +03:00
dzaima
da5280021c rename compile → compileAll 2023-05-27 15:38:57 +03:00
dzaima
dc583d754c separate FLDG for gid-based field lookup 2023-03-22 19:49:32 +02:00
dzaima
9337de5a0e fix LST_/ARM_ comments in vm.h 2023-03-21 23:04:39 +02:00
dzaima
0b32ef96ce inline → inplace in existing-scope-mutating function names 2023-03-19 22:47:00 +02:00
dzaima
a9b83ca70a V_POS, V_DEPTH 2023-03-16 22:03:08 +02:00
dzaima
f2b6b5d446 system value redefining with •ReBQN 2022-10-19 23:12:28 +03:00
dzaima
1619b6087b mild optimization of v_set argument consumption 2022-09-08 20:05:13 +03:00
dzaima
484158318a explicit JIT_ENABLED macro independent from JIT_START 2022-08-26 10:16:45 +03:00
dzaima
3ab92ecd66 explicit pointer → u64 conversion
work towards gcc 32-bit x86 builds. (gcc sign-extended pointers without this changeset)
gcc miscompiles `union B` usage though (https://godbolt.org/z/hEWKdc5PK), which I can do nothing about, so clang is still the only option for 32-bit x86 builds
2022-08-10 10:20:48 +03:00
dzaima
8882fb959a move scope_dec cycle handling to a noinline function 2022-06-27 19:50:30 +03:00
dzaima
f9d251ec08 ARRO/ARRM→LSTO/LSTM 2022-06-14 02:12:37 +03:00
dzaima
5e0bda6a28 ARMO & ARMM 2022-06-14 02:09:41 +03:00
dzaima
baa4641a44 don't needlessly include sys/mman.h 2022-06-12 22:29:35 +03:00
dzaima
a298bc3018 more function name cleanup 2022-06-09 18:12:15 +03:00
dzaima
2dbbb3415e fix m_nsDesc failing to allocate leaving body->nsDesc uninitialized 2022-06-03 19:50:26 +03:00
dzaima
572bc04459 move interrupt check to its own header 2022-06-03 16:02:02 +03:00
dzaima
7a21f9ef73 experimental REPL interrupting 2022-06-03 15:38:32 +03:00
dzaima
6033c2e90e flush pipes in g_pst 2022-05-29 16:12:14 +03:00
dzaima
f8408f0ca6 check for System V calling convention OSes for JIT 2022-04-29 23:17:55 +03:00
dzaima
e979faea0e put mnvmExecBodyInline under a JIT_START check 2022-04-29 22:46:59 +03:00
dzaima
6abce22447 micro-optimize execBodyInline 2022-04-27 20:15:47 +03:00
dzaima
11d95b67d5 better error messages for no inverse header 2022-04-15 23:20:44 +03:00
dzaima
f136ca5e97 rename confusing m_funBlock to evalFunBlock 2022-04-07 17:36:02 +03:00
dzaima
d9c0e38c12 fold extended scope free into no parent pointer case 2022-02-02 14:03:43 +02:00
dzaima
eca92b6a5d reorder scope_dec 2022-01-28 04:07:29 +02:00
dzaima
3a510f99e5 pass direct u32 to bc_repr 2022-01-10 20:25:33 +02:00
dzaima
5cde913c78 •CurrentError 2022-01-08 21:55:19 +02:00
dzaima
ade183e635 bunch of header file changes 2022-01-06 01:17:10 +02:00
dzaima
2602a6499d rename block types 2021-12-31 17:48:19 +02:00
dzaima
7e39407eb4 reorder v_setI 2021-12-25 18:10:47 +02:00
dzaima
7e89e190f2 )vars 2021-12-19 01:32:36 +02:00
dzaima
12250ef202 changes to •ReBQN 2021-12-17 14:39:51 +02:00