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/si/mcp/data/examples/ints.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 / si / mcp / data / examples / ints.om` 20 lines ยท 474 bytes Raw Blame History 1 note every integer width; each value converts to long and the sum modulo 256 is the exit status 2 fn main to int 3 s = long uchar 200 4 s = add s long u8 1 5 s = add s long ushort 300 6 s = add s long u16 2 7 s = add s long uint 3 8 s = add s long u32 4 9 s = add s long ulong 5 10 s = add s long u64 6 11 s = add s long byte -7 12 s = add s long i8 8 13 s = add s long short -9 14 s = add s long i16 10 15 s = add s long int 11 16 s = add s long i32 12 17 s = add s long 13 18 s = add s i64 14 19 ret int rem s 256 20 end