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 / macho / gtext.om
| 1 | note a class-1 global (text, bytes in the code image) and a class-0 global (zero-filled pool): prints "hi\n", status 7 |
| 2 | text msg "hi\n" |
| 3 | global cnt ulong 4 |
| 4 | fn main to int |
| 5 | put cnt 3 7 |
| 6 | k = write 1 msg 0 len msg |
| 7 | ret int get cnt 3 |
| 8 | end |