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 / a64 / tests / ref / zf.om
| 1 | note ref/zf.om: omc reference of mkir fixture zf (each call's local array starts zeroed: exit 0) |
| 2 | fn z to ulong |
| 3 | a = new ulong 4 0 |
| 4 | v = get a 3 |
| 5 | put a 3 77 |
| 6 | ret v |
| 7 | end |
| 8 | |
| 9 | fn main to int |
| 10 | ret int and add z z 255 |
| 11 | end |