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 / ir / x-hello.oir

21 lines · 387 bytes Raw Blame History
1omegair 1
2type %t32 = array u8 6
3type %t33 = ref view host %t32
4global @g0 %t32 data 68656c6c6f0a
5fn @f0 flags 0 -> void
6block ^0
7%1 = host void 199 %0
8ret %1
9end
10export @f1 flags 0 -> i32
11block ^0
12%1 = gaddr %t33 @g0
13%2 = const u64 0
14%3 = const u64 6
15%4 = chk.slice 3 %0 %1 %2 %3
16%5 = const i32 1
17%6 %7 = host i64 54 %4 %5 %1 %2 %3
18%8 = call void %6 @f0
19%9 = const i32 0
20retv %8 %9
21end