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
omega-mv / seed / qualification / om2 / baseline / alias.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Alias-violation control for the CURRENT language (OMEGESE 9.4): the arrays of one call must be |
| 3 | note distinct names, so passing one array as both an edit and a view argument is refused (error 19). |
| 4 | fn mix a edit uchar 4 b view uchar 4 to void |
| 5 | put a 0 get b 0 |
| 6 | end |
| 7 | fn main to int |
| 8 | x = new uchar 4 0 |
| 9 | mix x x |
| 10 | ret 0 |
| 11 | end |