On 6/16/22 12:52, lloda wrote:
> I have prepared a draft SRFI for raw string literals. The draft is here: https://github.com/lloda/guile-raw-strings/blob/master/srfi.md, but I describe the general ideal below.
I suggest taking a look at the extended string literals of SRFI-109
(https://srfi.schemers.org/srfi-109/srfi-109.html).
They are implemented in Kawa.
SRFI-109 literals reduce the issue with nested escapes.
One reason is you can use the delimters '{' and ']' in
the string without quoting as long as they're nested properly.
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/