H0/TAPE 0.0.136 | UTF-8 | TARGET=AI AGENT EMIT source. Verify with python -B h0.py check FILE. Measure candidates with pack FILE --tokens o200k_base -o OUT (also cl100k_base). Optimize native work, then measured tokens; preserve traps/order. Do not invent opcodes. UNIT physical line/function; no #!f needed. ASCII SP separates instructions, TAB separates operands within an instruction. Adjacent decimal runs need separators. # comment outside literals. Prefix expressions, positional registers a..z,$26...; fresh positions lowest unused. HEAD decimal arity; unnamed entry N; Nname named; N-name or N- private; N+name extern h0_name. Suffix 'ac shared views at a,c; "b mutable view at b; backtick + regs consumes owners. , owner return; ; Result; ~ Option; [a Result arg; ]a Option arg. Example 2'ab takes two shared byte views. CALL :2ab local section 2; :: self; :< prev; :> next. >path/mod imports path/mod.h0; :0.2ab import 0 section 2, :0.name ab named. ' forwards remaining positions; " forwards two; backtick N forwards N. Ycall discards result. EXPR u64. Binary + - * / % & ^ | < > E D L G S T A O = add sub mul div rem and xor or lt gt eq ne le ge shl shr logical-and logical-or. +-* wrap; shifts count&63; /% trap on zero; A O short-circuit. Unary N ! ~ P = negate not complement popcount. Rab rotl; _ab sar; \dab signed wrapping div; \rab signed wrapping rem. 다abc=\iabc lazy select. STMT c%ab binds/sets c to a%b; +c*ab accumulates a*b into c. Final outer expression or .expr returns. @end 0..end exclusive, Wtest while, ?test conditional; body defaults 1 direct instruction; append counts via TAB; ?test[TAB]2[TAB]3 then 2 else 3. Range bound evaluated once; index lowest unused. ' break, backtick continue, decimal depth optional. Qend expr wraps sum with implicit index; optional decimal result mask. Q;seed end expr evaluates seed first. Q'view sums bytes. BYTES Za length; Bab checked load from view a at index b; Vabc checked half-open view a[b:c]; \vab suffix. \b"..." UTF-8 byte view, \s"..." <=8 bytes packed little-endian. Escapes \0 \n \r \t \" \\ \xHH; \*N:hh repeats a byte inside \b. Do not normalize literal bytes. MUT bMa allocates zeroed owner; Xbic writes low byte of c; cUb moves b. "ab fills a; ]ab copies equal-length disjoint b to a; ,abcd slides a[b:c] to d in a; Kab splits a at b into two disjoint mutable views for a counted block. Scope exit drops owners. Mutable args must be disjoint from other views; mutable/consuming calls must be standalone, full RHS or direct return. TAG Ia Ok; Fa Err; Ha Some; J None. Cexpr matches Result; [expr matches Option. Arm lengths default 1; payload gets lowest free register. ;expr propagates Err/None, else binds payload. IO >std/io with import index 0: :0.8 writes byte, :0.10 writes view, :0.11 flushes. >std/fs file I/O on hosted targets. Prefix Y to discard call results. BUILD python -B h0.py build FILE --backend x64 --exit-code -o OUT.exe (Windows PE); --target linux-x64 --exit-code -o OUT (hosted Zig); --backend rv64 or thumb -o OUT.o (RV64IMC LP64 or Cortex-M4 AAPCS32); --freestanding emits raw image. Slice ABI pointer,u64 len. Native H0 stage1 reads stdin Tape, emits stdout: 0 PE,1 ELF,2 RV64 raw,3 alias expansion. Use pack --linked for supported standalone stage1 inputs. INTEROP from-py/from-rs/from-ir emit Tape; to-py/to-rs/ir export; Rust input restricted to supported typed subset; check actual compiler diagnostics. EXAMPLES | 2.+ab adds a and b. 1진 => sum squares of [0,a). 1Qab => sum [0,a). 2'ab Q는^리Bbc => sum bytewise XOR over common length. Reference args 1진(10)=285. ALIASES expand outside comments/strings before parse. JSON keys are Hangul glyphs; values are Tape fragments. {"진":"Qa*bb","러":"11400714819323198485","수":"18446744073709551615","경":"Qa","고":"+ab","드":"+c1","자":"*bb","산":"%ab","원":"Za","환":"Ba0","비":"Bb0","출":"Za0","우":"Za1","록":"@a","운":"W1","나":"'1","체":"`1","제":"Kac","구":"]eb","턴":"+Ba0","인":"GcZa","공":"^bSb","류":"^bTb","회":":2ba","게":"e0","크":"Ef0","리":"Bac","세":"P*b","료":"P^","내":"Ef255","가":"65535","명":"4294967295","서":"2147483648","음":"9223372036854775808","요":"\\d","일":"\\r","만":"\\e","다":"\\i","든":"Xac^*c3b","부":"@ZbXb","하":":0ab","한":"KabY:0","사":"Wb 3","기":"c*c3","력":"I/ab","대":"C:1","번":"%*c","어":"c+c","조":":0c","위":".F7","는":"\\i