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/seed/ng/front/cases/fuel_while.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 / seed / ng / front / cases / fuel_while.om` 14 lines ยท 414 bytes Raw Blame History 1 note fuel_while: a while with no bound has fuel `1000000` (front.om fe_lwhile, omc S_WHILE): the 1000000th 2 note pass ends with i = `1000000` and the next head traps 4 (exit 104); a lowering with one pass more 3 note writes the line below first, so stdout differs. 4 text hit "pass `1000001`\n" 5 fn main to int 6 i = ulong 0 7 while lt i `2000000` 8 i = add i 1 9 if eq i `1000001` 10 k = write 1 hit 0 len hit 11 end 12 end 13 ret int and i 255 14 end