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 / om2 / s4 / p-bad-fresh.om

15 lines · 281 bytes Raw Blame History
1note S4 with S3 fresh (spec 5): a fresh array passed to part is error 27 on the call line 10.
2om2
3fn h v view uchar * to ulong
4ret len v
5end
6fn f s edit uchar 4 fresh to ulong
7for i ulong 4 unroll
8put s i 1
9end
10ret h part s 0 2
11end
12fn main to int
13a = new uchar 4 0
14ret int f a
15end