feat: implement proper IR with value handles with dynamic and transferable types

This commit is contained in:
2026-01-01 15:50:26 +01:00
parent 3b8dfc4dae
commit 6f4ab269e2
8 changed files with 621 additions and 375 deletions

View File

@@ -2,17 +2,17 @@ extern putchar
fn hello() {
local h = 72
local e = 69
local l = 76
local o = 79
putchar(h)
local e = h - 3
putchar(e)
local l = h + 4
putchar(l)
putchar(l)
local o = 100 - 21
putchar(o)
}
fn main() {
hello()
putchar(9 + 1)
putchar(3 * 3 + 1)
}