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 / omc / om2 / s3 / a-exact-diag.om
| 1 | note S3 abstract (om2 diag): the exact constructor body erases the check (rule dup32), no trap site |
| 2 | om2 diag |
| 3 | abstract dup32 ulong |
| 4 | holds dup32 dup32 |
| 5 | fn dup32mk x uint to dup32 |
| 6 | ret seal dup32 or shl ulong x 32 ulong x |
| 7 | end |
| 8 | fn entry x uint to ulong |
| 9 | ret open dup32mk x |
| 10 | end |