John Gruber on Nostr: npub1ytqxe…z9rrp I thought of that too, but didn't want to send you down that ...
npub1ytqxefyrsmvdr9yk5mn2ec6juglxar0x8u3r4ucpnc7nu6fwy7tsyz9rrp (npub1ytq…9rrp) I thought of that too, but didn't want to send you down that rabbit hole. But it's intriguing.
The problem I'm thinking about is that sometime you want to escape a literal character: «(» would mean a literal open paren, but «n» would mean a newline. There aren't many non-literal escapes, though. So, another spitball (could be a truly horrible idea?): what if you keep backslash for non-literal escapes like \n and \r, but use «…» to mean “quote these characters literally”?
The problem I'm thinking about is that sometime you want to escape a literal character: «(» would mean a literal open paren, but «n» would mean a newline. There aren't many non-literal escapes, though. So, another spitball (could be a truly horrible idea?): what if you keep backslash for non-literal escapes like \n and \r, but use «…» to mean “quote these characters literally”?