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 / tests / arboris / emit-hubs.om

12 lines · 262 bytes Raw Blame History
1note SPDX-License-Identifier: AGPL-3.0-only
2fn main to int
3 code = new uchar 16384 0
4 size = arboris_emit_hubs 129 127 code
5 if or eq size 0 ne arboris_emit_hubs 129 129 code 0
6 ret 1
7 end
8 if ne write 1 code 0 size long size
9 ret 2
10 end
11 ret 0
12end