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-frnbound.om
| 1 | note for over a number K with bound N: the latch lands on the hidden counter check after the head's exit |
| 2 | note branch, so bound 3 under K = 10 traps 4 at the start of pass 4 (exit 104); a latch that lands on or |
| 3 | note past the counter's branch runs all 10 passes (exit 10) |
| 4 | om2 |
| 5 | fn main to int |
| 6 | s = ulong 0 |
| 7 | for i ulong 10 bound 3 |
| 8 | s = add s 1 |
| 9 | end |
| 10 | ret int s |
| 11 | end |