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/aien-train/blob/main/native/omegese45/translate/main-goal2en.om # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / native / omegese45 / translate / main-goal2en.om` 22 lines ยท 421 bytes Raw Blame History 1 note SPDX-License-Identifier: AGPL-3.0-only 2 note goal2en driver: stdin one G line, stdout one English review sentence 3 note (exit 0) or `G2E_INVALID goal ` (exit 31). Exit 2: usage (any 4 note argument) or a stdin read/stdout write error. 5 fn main to int 6 if ne argcnt 1 7 otpfr 10 8 otflush 9 ret 2 10 end 11 k = otrdin 12 if eq k neg long 2 13 ret 2 14 end 15 n = ulong 1024 16 if ge k 0 17 n = ulong k 18 end 19 code = otgoalen n 20 otflush 21 ret code 22 end