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 / decl_order.om

10 lines · 238 bytes Raw Blame History
1note decl_order: text, const and global come before the function that names them; only functions may be named before their line
2const K int 7
3global g uchar 4
4fn main to int
5put g 0 uchar K
6ret add f int get g 0
7end
8fn f to int
9ret 1
10end