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 / tools / exp445 / arms / examples / sum_range / program.omegese
| 1 | fn sum_range lo int hi int to long |
| 2 | s = long 0 |
| 3 | i = lo |
| 4 | while le i hi bound 300000 |
| 5 | s = add s long i |
| 6 | i = add i 1 |
| 7 | end |
| 8 | ret s |
| 9 | end |