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/aien-train/native/omegese45/translate/otfrag.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 / aien-train / native / omegese45 / translate / otfrag.om` 23 lines ยท 525 bytes Raw Blame History 1 note SPDX-License-Identifier: AGPL-3.0-only 2 note otfrag: fixed-text emitter. Concatenate AFTER the tool file that 3 note defines `text otfr` (a text must be declared before it is read). 4 note Append fragment number fi of otfr; fragments are separated by byte 5 note 124 (|) and fragment 0 starts at offset 0. 6 fn otpfr fi ulong to void 7 p = ulong 0 8 c = ulong 0 9 while lt c fi bound 4096 10 if eq get otfr p 124 11 c = add c 1 12 end 13 p = add p 1 14 end 15 while lt p len otfr bound 4096 16 b = get otfr p 17 if eq b 124 18 ret 19 end 20 otpb b 21 p = add p 1 22 end 23 end