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 / apirest / key.om

14 lines · 258 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2fn arkey kind uint src view uint * y edit uint * to ulong
3if gt add len src 1 len y
4ret 1
5end
6for i ulong len y
7put y i 0
8end
9put y 0 kind
10for i ulong len src
11put y add i 1 get src i
12end
13ret 0
14end