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 / tests / arboris / emit-gated.om

15 lines · 248 bytes Raw Blame History
1fn main to int
2 code = new uchar 16384 0
3 dim = ulong 8
4 if ge argcnt 2
5 dim = ulong 264
6 end
7 size = gv_emit_profile 5 dim 4 eq argcnt 3 code
8 if eq size 0
9 ret 1
10 end
11 if ne write 1 code 0 size long size
12 ret 2
13 end
14 ret 0
15end