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 / tests / ir / x-i8.om
| 1 | note x-i8: i8 add reaches 127, one more traps 1 |
| 2 | fn f a byte b byte to byte |
| 3 | ret add a b |
| 4 | end |
| 5 | fn main to int |
| 6 | x = f 126 1 |
| 7 | y = f x 1 |
| 8 | ret int y |
| 9 | end |