Files
hl-valdemar 9932750e21 feat: execute conditionals through typed IR
Use typed singleton arrays for braceless arm blocks: &[statement] compiled but trapped under the Bro bootstrap.
2026-10-24 01:47:13 +02:00

9 lines
132 B
Plaintext

factorial proc(n int) int {
if (n <= 1) return 1
return n * factorial(n - 1)
}
main proc() int {
return factorial(5)
}