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 / seed / omc / cflow / pl-frbreak.om
| 1 | note for test at the latch with break: the loop leaves at i = 3 (exit 3) |
| 2 | om2 |
| 3 | fn main to int |
| 4 | s = ulong 0 |
| 5 | for i ulong 10 |
| 6 | if eq i 3 |
| 7 | break |
| 8 | end |
| 9 | s = add s 1 |
| 10 | end |
| 11 | ret int s |
| 12 | end |