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 / b1-var.om
| 1 | note B1 mutant: a for count that is neither literal, const, len nor bound. |
| 2 | fn sum n ulong to ulong |
| 3 | s = ulong 0 |
| 4 | for i ulong n |
| 5 | s = add s i |
| 6 | end |
| 7 | ret s |
| 8 | end |
| 9 | fn main to int |
| 10 | v = sum 5 |
| 11 | ret int v |
| 12 | end |