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/harness/skills/omega-encoding/examples/trap_narrow.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 / harness / skills / omega-encoding / examples / trap_narrow.om` 9 lines ยท 281 bytes Raw Blame History 1 note edge: narrowing a value that does not fit traps 5, so the program exits 105 2 note the masked store on line 6 is fine (300 and 255 = 44); the unmasked store on line 7 traps 3 global b uchar 2 4 fn main to int 5 x = uint 300 6 put b 0 uchar and x 255 7 put b 1 uchar x 8 ret int get b 0 9 end