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 / profile / cases / ok-noeq.om
| 1 | note Positive control: ordinary non-recursive omc NAME value assignments (no =) are classified, not refused. |
| 2 | fn get1 x ulong to ulong |
| 3 | ret add x 1 |
| 4 | end |
| 5 | fn main to int |
| 6 | b new uchar 16 0 |
| 7 | n ulong 3 |
| 8 | n add n 1 |
| 9 | r get1 n |
| 10 | put b 0 uchar r |
| 11 | s get1 ulong get b 0 |
| 12 | ret int s |
| 13 | end |