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 / bridge / omega-bridge / tests / fixtures / order_put.om
| 1 | global out uchar 1 |
| 2 | fn mark x ulong to ulong |
| 3 | put out 0 uchar x |
| 4 | w = write 1 out 0 1 |
| 5 | ret x |
| 6 | end |
| 7 | fn pick a ulong b ulong to ulong |
| 8 | ret sub b a |
| 9 | end |
| 10 | fn main to int |
| 11 | a = new ulong 100 0 |
| 12 | put a mark 65 mark 66 |
| 13 | ret int get a 65 |
| 14 | end |