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