feat: execute conditionals through typed IR

Use typed singleton arrays for braceless arm blocks: &[statement] compiled but trapped under the Bro bootstrap.
This commit is contained in:
2026-10-09 23:43:44 +02:00
parent 0821b84bc3
commit 9932750e21
20 changed files with 1511 additions and 124 deletions
+8
View File
@@ -0,0 +1,8 @@
factorial proc(n int) int {
if (n <= 1) return 1
return n * factorial(n - 1)
}
main proc() int {
return factorial(5)
}