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

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