feat: lower typed programs and interpret IR

This commit is contained in:
2026-10-09 22:47:05 +02:00
parent bc318a29ad
commit 98f3a04daf
20 changed files with 2328 additions and 85 deletions
+6
View File
@@ -0,0 +1,6 @@
to_fahrenheit proc(celsius float) float { return celsius * 9 / 5 + 32 }
main proc() float {
temperature :: 20
return to_fahrenheit(temperature)
}