Commit Graph

20 Commits

Author SHA1 Message Date
Alex Zenla
d0e2f2a05e
fix a small bug with return values 2025-07-28 20:50:33 -07:00
Alex Zenla
3dcac2f9e6
implement support for setting indexed values 2025-07-26 17:01:24 -07:00
Alex Zenla
b451f74239
elide double returns and get rid of function end emits 2025-07-26 16:24:02 -07:00
Alex Zenla
69230deefc
introduce ir nop to fix loop bugs 2025-07-24 22:30:18 -07:00
Alex Zenla
837e0c1b38
implement native type compilation 2025-07-20 19:57:09 -07:00
Alex Zenla
a48fac4581
rework some bits of the compiler to work more appropriately 2025-07-16 23:14:25 -07:00
Alex Zenla
d2eaffafcc
implement a new native call bytecode mechanism that can be optimized by the vm 2025-03-18 19:57:27 -07:00
Alex Zenla
2f5ea4629d
modify compiler to fix return values and add support for vm ffi 2025-03-15 23:34:16 -07:00
Alex Zenla
4100752f1c
upgrade to java 22 and fix miscompile of variable loads 2025-03-15 21:16:48 -07:00
35ce58bb44
bir: mutable values and inspection 2023-12-27 16:44:32 -08:00
962d079acc
compiler: declare symbols before store so that symbol graph works 2023-11-29 15:03:22 -08:00
f2ff23e9be
language: implement proper virtual machine support 2023-11-28 05:23:48 -08:00
8951c3cd60
compiler: full support for IR based compilation 2023-11-23 21:48:10 -08:00
2d88666f05
WIP on IR 2023-11-22 07:23:33 -08:00
76290a401a
bytecode: enhance symbol table with both slab and symbol name 2023-11-21 23:27:21 -08:00
6211ad4ff1
global: a working virtual machine for some of the use cases. APIs and validation still WIP. 2023-11-21 22:18:05 -08:00
0a2d029c5c
language: introduce the requirement to use return to return a value from a function 2023-11-21 04:28:46 -08:00
5540918e7c
vm: a functional virtual machine, mostly 2023-11-21 04:04:44 -08:00
4c50d48e1e
compiler: first attempt at restructuring 2023-11-15 01:20:49 -08:00
041848c14e
vm: very basic virtual machine 2023-11-14 23:44:10 -08:00