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 / lsc_shbool.om
| 1 | note lsc_shbool: omc admits a bool shift amount (true shifts by 1; this exits 2). ng front-ir does not lower |
| 2 | note it: exit 64, no output (cases-lower-scope.txt) |
| 3 | fn main to int |
| 4 | x = ulong 1 |
| 5 | b = true |
| 6 | y = shl x b |
| 7 | ret int y |
| 8 | end |