Commit Graph

72 Commits

Author SHA1 Message Date
dzaima
550b91688a extremely basic x86-64 generator 2021-06-09 18:47:50 +03:00
dzaima
96f3089410 proper i64 formatting, move openbsd hack up 2021-06-06 22:23:55 +03:00
dzaima
7e994dd913 modifiable defines 2021-06-06 16:50:18 +03:00
dzaima
cdd4d136be make gcc happy 2021-06-04 15:47:26 +03:00
dzaima
4d8375fdfd make ⊏ safe 2021-05-30 02:38:29 +03:00
dzaima
16f379b6c7 fix gc/refc issues, set memory to invalid objects on free in debug 2021-05-30 01:55:59 +03:00
dzaima
837a69b3aa don't allocate child blocks if not needed 2021-05-29 14:40:04 +03:00
dzaima
345a0bfc8b unsigned bytecode 2021-05-28 01:12:36 +03:00
dzaima
1b89661308 inline objects 2021-05-28 01:03:29 +03:00
dzaima
a0ec9c02c9 blocks are guaranteed pointers 2021-05-27 20:20:14 +03:00
dzaima
d9110e8b5a optimize v_get, v_set, and a bit of fills 2021-05-27 19:00:08 +03:00
dzaima
752a68cb2d static const tagged builtins 2021-05-27 18:08:21 +03:00
dzaima
3dbb492b78 separate push 2021-05-27 15:57:26 +03:00
dzaima
3b017648d8 extended variables, REPL support 2021-05-27 04:05:17 +03:00
dzaima
48229571ba proper bytecode rewriting 2021-05-26 16:34:36 +03:00
dzaima
7bf3b4be50 store directly needed blocks in bodies 2021-05-26 14:45:29 +03:00
dzaima
50e76c8c04 move some headers & defs around 2021-05-25 00:51:09 +03:00
dzaima
8cfa3e7f55 builtin initialization in load.c 2021-05-24 14:41:10 +03:00
dzaima
6b4c5913ff RT_VERIFY 2021-05-24 01:05:34 +03:00
dzaima
f4ec365a3e extern env & ti 2021-05-24 00:37:43 +03:00
dzaima
cc163fefe7 more extern 2021-05-24 00:16:03 +03:00
dzaima
b2b826be9b incremental compilation 2021-05-23 21:55:49 +03:00
dzaima
4fa7e33520 dyadic fast scans, ∨´, sorts and grade 2021-05-22 23:09:32 +03:00
dzaima
081c16029e +i32arr, ⌈i32arr, print live stack 2021-05-21 17:06:06 +03:00
dzaima
b8fe149d1f hashmaps, fast ⊐ 2021-05-20 19:24:54 +03:00
dzaima
23af3f56e9 faster VM_POS 2021-05-19 15:00:45 +03:00
dzaima
af9fbb7dc3 free simple scope-block reference cycles on bytecode exit 2021-05-19 00:28:46 +03:00
dzaima
d046d92390 optional source for precompiled programs 2021-05-16 13:42:58 +03:00
dzaima
c2013e3b5d •args, •FLines, command-line options, •Repr, fix unit∾unit fill 2021-05-15 17:51:17 +03:00
dzaima
77531e2d8f visit should take pointer as arg 2021-05-15 12:23:21 +03:00
dzaima
fb7bfcf188 free should take pointer as arg 2021-05-15 12:23:19 +03:00
dzaima
5dfa9e0e31 NSPM 2021-05-14 23:09:52 +03:00
dzaima
c5506657c3 native vector ⊔ 2021-05-14 20:08:38 +03:00
dzaima
67e93ae37a FLDO 2021-05-14 00:34:42 +03:00
dzaima
cd5eb4dfe9 •FChars, •FBytes 2021-05-12 16:31:01 +03:00
dzaima
98cb5fc310 vm.h 2021-05-11 16:10:49 +03:00
dzaima
9bdacbbd7d toCells, throw stack overflows 2021-05-10 13:41:27 +03:00
dzaima
2202200a6e stacktraces 2021-05-10 02:44:26 +03:00
dzaima
0dede67d2a namespaces 2021-05-09 16:01:19 +03:00
dzaima
8ed4019edf bi_emptyHVec, actually fix !GS_REALLOC 2021-05-08 15:47:04 +03:00
dzaima
6c349fc3ed fix !GS_REALLOC 2021-05-08 14:19:48 +03:00
dzaima
f70a8c558c option to not allow reallocating stack
with no benefits currently, whatever
2021-05-07 21:51:54 +03:00
dzaima
386cb75a1a accept new compiler output 2021-05-07 19:41:07 +03:00
dzaima
c9eab08569 i32arr⊏i32arr, isAtm, m_atomUnit 2021-05-02 19:14:25 +03:00
dzaima
2828a05dfc native », fill stuff 2021-05-01 04:21:14 +03:00
dzaima
755274ebb6 random type changes 2021-04-30 20:38:48 +03:00
dzaima
f36eddb01c fix ⟨a‿b⟩←⟨1‿2⟩ and ⟨3‿0,2‿1‿2⟩⊏6‿5⥊↕30 2021-04-30 00:55:28 +03:00
dzaima
7786beeed1 clean up err stuff 2021-04-29 00:06:27 +03:00
dzaima
3ebdb16571 ahead-of-time computed scope parents
not much of a difference in performance, but whatever
2021-04-28 23:35:05 +03:00
dzaima
a3e78e651e random cleanup 2021-04-28 12:38:02 +03:00