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 / qualification / om2 / baseline / alias.om

11 lines · 358 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Alias-violation control for the CURRENT language (OMEGESE 9.4): the arrays of one call must be
3note distinct names, so passing one array as both an edit and a view argument is refused (error 19).
4fn mix a edit uchar 4 b view uchar 4 to void
5put a 0 get b 0
6end
7fn main to int
8x = new uchar 4 0
9mix x x
10ret 0
11end