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 / contracts / continue.om
| 1 | om2 |
| 2 | fn main to int |
| 3 | i = uint 0 |
| 4 | while lt i 2 |
| 5 | invariant eq i 0 |
| 6 | i = add i 1 |
| 7 | continue |
| 8 | end |
| 9 | ret 0 |
| 10 | end |