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/aienux/allen/tests/runtime.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 / aienux / allen / tests / runtime.om` 57 lines ยท 1077 bytes Raw Blame History 1 text Ask "make me a calculator" 2 text Reply "Model supplied answer." 3 fn askload to void 4 put Inlen 0 len Ask 5 for i ulong len Ask 6 put In i get Ask i 7 end 8 end 9 fn main to int 10 askload 11 check start 2 0 1 12 check eq get R 1 1 2 13 check eq get R 2 2 3 14 check eq get R 8 len Ack 4 15 old = get R 0 16 check not start 1 1 5 17 put Inlen 0 len Reply 18 for i ulong len Reply 19 put In i get Reply i 20 end 21 check not answer add old 1 2 6 22 check eq get R 8 len Ack 7 23 check answer old 3 8 24 check eq get R 1 0 9 25 askload 26 check start 1 4 10 27 check gt get R 0 old 11 28 cancel 29 check eq get R 1 0 12 30 check not answer get R 0 5 13 31 askload 32 check start 1 10 14 33 check eq tick 20009 0 15 34 check eq tick 20010 1 16 35 check eq tick 20011 0 17 36 check eq tick 30010 2 18 37 check eq get R 1 0 19 38 old = get R 0 39 reset 40 check eq get R 0 old 20 41 askload 42 check start 2 40000 21 43 check gt get R 0 old 22 44 cancel 45 put Inlen 0 160 46 check not start 1 40001 23 47 check eq get R 1 0 24 48 askload 49 check not start 3 40002 25 50 put R 6 1 51 check start 3 40003 26 52 check eq get R 8 len Ackmore 27 53 cancel 54 put R 0 `4294967295` 55 check not start 1 40004 28 56 ret int get Fails 0 57 end