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 / ng / front / cases / nom_t2.om

10 lines · 274 bytes Raw Blame History
1note Wrapped copy of seed/omc/tests/struct/t2.om for gate-front-ir: main to uint, ulong or long becomes subject (nom-wrap.sh).
2struct H n uint v uint 4 end
3fn subject to uint
4h = new H 3 3
5put h v 1 add get h n get h v 1
6ret get h v 1
7end
8fn main to int
9ret int subject
10end