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_t7b.om

10 lines · 255 bytes Raw Blame History
1note Wrapped copy of seed/omc/tests/struct/t7b.om for gate-front-ir: main to uint, ulong or long becomes subject (nom-wrap.sh).
2struct M a uint b uchar end
3fn subject to uint
4p = new M 1 2
5put p b 9
6ret uint get p b
7end
8fn main to int
9ret int subject
10end