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 / paramscope.om
| 1 | om2 |
| 2 | fn f x int to int |
| 3 | ensures eq x 3 |
| 4 | ensures eq result 4 |
| 5 | x = add x 1 |
| 6 | ret add x 1 |
| 7 | end |
| 8 | fn main to int |
| 9 | ret sub f 2 4 |
| 10 | end |