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 / ng / front / cases / rot_mix.om
| 1 | om2 |
| 2 | note rot_mix: a rotate's amount must have the value's type (omc binop: error 7), unlike a shift's |
| 3 | fn main to int |
| 4 | x = ulong 1 |
| 5 | b = uchar 3 |
| 6 | y = rotr x b |
| 7 | ret int and y 255 |
| 8 | end |