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 / seed / ng / tests / opt / o-phi.oir

15 lines · 243 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^0
4%1 = const i32 7
5%2 = const i32 9
6%3 = const bool false
7cbr %0 %3 ^1 ^2
8block ^1 %4:tok
9br ^3 %4 %1 %2
10block ^2 %5:tok
11br ^3 %5 %2 %2
12block ^3 %6:tok %7:i32 %8:i32
13%9 = add i32 %7 %8
14retv %6 %9
15end