interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tools / exp445 / arms / examples / sum_range / program.omegese

9 lines · 123 bytes Raw Blame History
1fn sum_range lo int hi int to long
2s = long 0
3i = lo
4while le i hi bound 300000
5s = add s long i
6i = add i 1
7end
8ret s
9end