Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/nvidia/om/function.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / om / function.om` 22 lines ยท 339 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Native ABI1 embeds function-mode code, never an ELF program image. 3 global head uchar 4 4 fn main to int 5 n = read 0 head 0 4 6 if ne n 4 7 ret 3 8 end 9 if ne get head 0 127 10 ret 0 11 end 12 if ne get head 1 69 13 ret 0 14 end 15 if ne get head 2 76 16 ret 0 17 end 18 if ne get head 3 70 19 ret 0 20 end 21 ret 3 22 end