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 / seed / omc / contracts / returnonce.om

14 lines · 164 bytes Raw Blame History
1om2
2global a int 1
3fn inc to int
4put a 0 add get a 0 1
5ret get a 0
6end
7fn f to int
8ensures eq result 1
9ret inc
10end
11fn main to int
12x = f
13ret sub add x get a 0 2
14end