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 / profile / cases / b2-entry.om
| 1 | note B2 mutant: the recursion entry passes a computed start depth. |
| 2 | fn walk depth ulong to ulong |
| 3 | nd = add depth 1 |
| 4 | if gt nd 16 |
| 5 | ret 0 |
| 6 | end |
| 7 | ret walk nd |
| 8 | end |
| 9 | fn main to int |
| 10 | x = ulong 3 |
| 11 | d = walk x |
| 12 | ret int d |
| 13 | end |