omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / bridge / omega-bridge / tests / native / big.om
| 1 | fn big n ulong to ulong |
| 2 | x = new ulong 500000 0 |
| 3 | put x 499999 n |
| 4 | put x 0 add n 1 |
| 5 | if eq n 0 |
| 6 | trap 3 |
| 7 | end |
| 8 | ret add get x 0 get x 499999 |
| 9 | end |