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 / si / mcp / data / examples / consts.om

11 lines · 213 bytes Raw Blame History
1note named typed constants, used as an array length, a for count and a value
2const lim uint 5
3const seven uint 7
4fn main to int
5a = new uint lim seven
6s = uint 0
7for i uint lim
8s = add s get a i
9end
10ret int s
11end