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-frexact.om
| 1 | note for test at the latch: 7 passes, i = 0 .. 6 (sum 21); a latch that branched one pass too many or |
| 2 | note too few changes the exit status |
| 3 | om2 |
| 4 | fn main to int |
| 5 | s = ulong 0 |
| 6 | n = ulong 0 |
| 7 | for i ulong 7 |
| 8 | s = add s i |
| 9 | n = add n 1 |
| 10 | end |
| 11 | ret int sub add s n 28 |
| 12 | end |