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-frassign.om
| 1 | note for test at the latch after the body changes the counter: i jumps by 3 a pass, so i = 0, 3, 6, 9 |
| 2 | note run (exit 4) |
| 3 | om2 |
| 4 | fn main to int |
| 5 | n = ulong 0 |
| 6 | for i ulong 10 |
| 7 | i = add i 2 |
| 8 | n = add n 1 |
| 9 | end |
| 10 | ret int n |
| 11 | end |