027-string-emit.M1pp (453B)
1 # Bare string-token emission: every TOK_STRING reaching the output 2 # decodes its quoted body to raw bytes, one two-hex-digit token per 3 # byte. Recognised escapes inside the literal: \n \t \r \0 \\ \" \xNN. 4 5 # Plain ASCII. 6 "hi" 7 8 # Empty string emits nothing. 9 "" 10 11 # Each supported single-char escape, plus \xNN. 12 "a\nb\tc\rd\0e\\f\"g\x7Fh" 13 14 # Followed by trailing literal hex, to confirm hex2pp's byte-stream 15 # coalescing handles the boundary. 16 "X" 90 17 18 END