interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / si / harness / examples / hello.om

9 lines · 185 bytes Raw Blame History
1note hello: the smallest complete program. A text is a read-only uchar array
2text msg "hello, world\n"
3fn main to int
4k = write 1 msg 0 len msg
5if ne k long len msg
6ret 1
7end
8ret 0
9end