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-bad-bitcast.om
| 1 | note S3 abstract refusal |
| 2 | om2 |
| 3 | abstract dup32 ulong ops rotr xor |
| 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 main to int |
| 9 | u = ulong 7 |
| 10 | d = bitcast dup32 u |
| 11 | ret 0 |
| 12 | end |