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/train/openaccel-lab/controls/scan_exclusive/omega.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 / train / openaccel-lab / controls / scan_exclusive / omega.om` 26 lines ยท 405 bytes Raw Blame History 1 note CONTROL (deliberately wrong): stores the prefix before adding x[i], i.e. the EXCLUSIVE scan. 2 global kn ulong 1 3 fn kern to void 4 s = int 0 5 for i ulong get kn 0 6 put io i s 7 s = add s get ia i 8 end 9 end 10 fn main to int 11 oal_begin 12 put kn 0 ulong oal_p 0 13 a = oal_ia 0 14 w = oal_warm 15 for i ulong add w oal_reps 16 t0 = monons 17 kern 18 t1 = monons 19 if ge i w 20 oal_tick sub t1 t0 21 end 22 end 23 oal_sio 0 get kn 0 24 oal_end 25 ret 0 26 end