omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / tests / fixtures / for_expr_once.om
| 1 | fn main to int |
| 2 | n = ulong 4 |
| 3 | s = ulong 0 |
| 4 | for i ulong add n 0 |
| 5 | s = add s 1 |
| 6 | n = sub n 1 |
| 7 | end |
| 8 | ret int s |
| 9 | end |