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/tests/quantity/literal_bare.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 / tests / quantity / literal_bare.om` 24 lines ยท 199 bytes Raw Blame History 1 fn main to int 2 a = qty 1 3 b = add a 1 4 c = add 1 a 5 if ne b 2 6 ret 1 7 end 8 if ne 2 c 9 ret 2 10 end 11 if not lt a 2 12 ret 3 13 end 14 if not gt 2 a 15 ret 4 16 end 17 if ne sub b 1 a 18 ret 5 19 end 20 if ne mul a 2 b 21 ret 6 22 end 23 ret 0 24 end