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 / gpu / nvidia / om / function.om

22 lines · 339 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Native ABI1 embeds function-mode code, never an ELF program image.
3global head uchar 4
4fn main to int
5n = read 0 head 0 4
6if ne n 4
7ret 3
8end
9if ne get head 0 127
10ret 0
11end
12if ne get head 1 69
13ret 0
14end
15if ne get head 2 76
16ret 0
17end
18if ne get head 3 70
19ret 0
20end
21ret 3
22end