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/native/orig4/shadowmain.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 / native / orig4 / shadowmain.om` 21 lines ยท 421 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note omega-mv#731 ORIG-4 advisor entry point: the last file of the shadow program unit 3 note (after shadow.om). First stdin byte: S shadow advice (hvrun), G fixture (hvgen), 4 note H record hash (hvhash); anything else exits 64. 5 fn main to int 6 r = read 0 HM 0 1 7 if ne r 1 8 ret 64 9 end 10 m = get HM 0 11 if eq m 83 12 ret hvrun 13 end 14 if eq m 71 15 ret hvgen 16 end 17 if eq m 72 18 ret hvhash 19 end 20 ret 64 21 end