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/aienos.com/blob/main/om/site/links.om # aienos.com Source of www.aienos.com, served from my own hardware 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 `aienos.com / om / site / links.om` 242 lines ยท 4345 bytes Raw Blame History 1 note Preserve old root bookmarks without treating consent/refusal fragments as Classic navigation. 2 text slids "top|home-lead|loop-title|story|machines|machines-title|speed|speed-title|evidence|architecture|research|turing-game|tg-round|tg-stream|tg-zero|tg-one|tg-score|tg-reset|tg-msg|terminal|terminal-clear-btn|terminal-output|terminal-form|terminal-input|status|live|follow|follow-reach" 3 text slmach "machine-" 4 text slspeed "speed-" 5 6 fn sl_known value view uchar * to bool 7 if ge len value len slmach 8 if sr_equal part value 0 len slmach slmach 9 ret true 10 end 11 end 12 if ge len value len slspeed 13 if sr_equal part value 0 len slspeed slspeed 14 ret true 15 end 16 end 17 p = ulong 0 18 while lt p len slids bound 4096 19 q = p 20 while lt q len slids bound 4096 21 if eq get slids q 124 22 break 23 end 24 q = add q 1 25 end 26 if sr_equal value part slids p sub q p 27 ret true 28 end 29 p = add q 1 30 end 31 ret false 32 end 33 34 fn sl_probe pos ulong to bool 35 buf = new uchar 128 0 36 if not sh_at shref pos 37 ret false 38 end 39 p = add pos len shref 40 if ge add p 3 get shlen 0 41 ret false 42 end 43 quote = get shbuf p 44 if not or eq quote 34 eq quote 39 45 ret false 46 end 47 if ne get shbuf add p 1 47 48 ret false 49 end 50 if ne get shbuf add p 2 35 51 ret false 52 end 53 p = add p 3 54 n = ulong 0 55 while lt p get shlen 0 bound 256 56 if eq get shbuf p quote 57 ret sl_known part buf 0 n 58 end 59 if eq n len buf 60 ret false 61 end 62 put buf n get shbuf p 63 n = add n 1 64 p = add p 1 65 end 66 ret false 67 end 68 69 fn sl_emit pos ulong to ulong 70 p = add pos len shref 71 sh_range pos add p 1 72 sr_raw stclass 73 ret add p 2 74 end 75 76 fn sl_scheme value view uchar * to bool 77 for i ulong len value 78 if eq get value i 58 79 ret true 80 end 81 if or or eq get value i 47 eq get value i 35 eq get value i 63 82 ret false 83 end 84 end 85 ret false 86 end 87 88 fn sl_markdown_url value view uchar * to void 89 routebuf = new uchar 512 0 90 if sl_scheme value 91 put srnoh 0 1 92 gh_url value 93 put srnoh 0 0 94 ret 95 end 96 sr_raw shhost 97 if ne get value 0 47 98 n = st_field get shrrow 0 0 routebuf 99 sr_raw part routebuf 0 n 100 end 101 sr_raw value 102 end 103 104 fn gh_probe pos ulong to bool 105 if not sh_at shref pos 106 ret false 107 end 108 p = add pos len shref 109 if not or eq get shbuf p 34 eq get shbuf p 39 110 ret false 111 end 112 p = add p 1 113 ret or sh_at ghforge p or sh_at ghhost p sh_at ghhttp p 114 end 115 note gh_entlen and gh_entbyte: an href read back from emitted HTML is already escaped (sr_escape entities, 116 note including # before a digit since r6); decode each entity to its byte so gh_url escapes it once. 117 note Without this, #1-the-parts became #1-the-parts and then &#35;1-the-parts (bay 7, 2026-11-10). 118 fn gh_entlen pos ulong to ulong 119 if ne get shbuf pos 38 120 ret 1 121 end 122 if sh_at sreamp pos 123 ret len sreamp 124 end 125 if sh_at srehash pos 126 ret len srehash 127 end 128 if sh_at srelt pos 129 ret len srelt 130 end 131 if sh_at sregt pos 132 ret len sregt 133 end 134 if sh_at srequ pos 135 ret len srequ 136 end 137 if sh_at sreapo pos 138 ret len sreapo 139 end 140 ret 1 141 end 142 fn gh_entbyte pos ulong to uchar 143 if ne get shbuf pos 38 144 ret get shbuf pos 145 end 146 if sh_at sreamp pos 147 ret uchar 38 148 end 149 if sh_at srehash pos 150 ret uchar 35 151 end 152 if sh_at srelt pos 153 ret uchar 60 154 end 155 if sh_at sregt pos 156 ret uchar 62 157 end 158 if sh_at srequ pos 159 ret uchar 34 160 end 161 if sh_at sreapo pos 162 ret uchar 39 163 end 164 ret get shbuf pos 165 end 166 fn gh_emit pos ulong to ulong 167 buf = new uchar 4096 0 168 p = add pos len shref 169 quote = get shbuf p 170 p = add p 1 171 sh_range pos p 172 n = ulong 0 173 while lt p get shlen 0 bound 4096 174 if eq get shbuf p quote 175 break 176 end 177 if eq n len buf 178 sr_fail srebo 179 end 180 put buf n gh_entbyte p 181 n = add n 1 182 p = add p gh_entlen p 183 end 184 gh_url part buf 0 n 185 ret p 186 end 187 188 text ghaopen "" 190 text ghangle ">" 191 text ghspan "" 192 text ghprov " (Source: " 193 text ghpend ")" 194 fn gxanchor pos ulong to ulong 195 if not sh_at ghaopen pos 196 ret pos 197 end 198 e = sh_find ghangle pos 199 h = sh_find shref pos 200 if ge h e 201 ret pos 202 end 203 p = add h len shref 204 quote = get shbuf p 205 if not or eq quote 34 eq quote 39 206 ret pos 207 end 208 p = add p 1 209 q = p 210 while lt q e bound 4096 211 if eq get shbuf q quote 212 break 213 end 214 q = add q 1 215 end 216 buf = new uchar 4096 0 217 n = sub q p 218 if ge n len buf 219 sr_fail srebo 220 end 221 m = ulong 0 222 gi = p 223 while lt gi q bound 4096 224 put buf m gh_entbyte gi 225 m = add m 1 226 gi = add gi gh_entlen gi 227 end 228 n = m 229 if not gxextern part buf 0 n 230 ret pos 231 end 232 close = sh_find ghaclose add e 1 233 if ge close get shlen 0 234 ret pos 235 end 236 sr_raw ghspan 237 sh_range add e 1 close 238 sr_raw ghprov 239 sr_esc part buf 0 n 240 sr_raw ghpend 241 ret add close len ghaclose 242 end