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-frval.om
| 1 | note for over a name, test at the latch: the name is read again at every pass; k drops by one a pass, |
| 2 | note so i < k holds for i = 0 .. 4 only: 5 passes (exit 5) |
| 3 | om2 |
| 4 | fn main to int |
| 5 | k = ulong 9 |
| 6 | n = ulong 0 |
| 7 | for i ulong k |
| 8 | k = sub k 1 |
| 9 | n = add n 1 |
| 10 | end |
| 11 | ret int n |
| 12 | end |