String reboot (plain text)

forax at forax at
Thu Mar 21 14:19:07 UTC 2019

----- Mail original -----
> De: "Brian Goetz" <brian.goetz at>
> À: "Remi Forax" <forax at>, "John Rose" <john.r.rose at>
> Cc: "Jim Laskey" <james.laskey at>, "amber-spec-experts" <amber-spec-experts at>
> Envoyé: Jeudi 21 Mars 2019 14:56:58
> Objet: Re: String reboot (plain text)

>> I really like in the syntax proposed by Jim the fact that the single quote " is
>> retconned to allow several lines,
>> it seems the easiest thing to do if we just want to introduce a multi-lines
>> literal string.
> This has already been rejected, because it doesn't address the main use
> cases -- most multi-line snippets still want to have quotes in them
> (SQL, JSON, XML, etc), and thus would still have to be escaped.

ok, i never expect to have a lot of codes using a multi-lines single quote but it's fairly common to have DSLs like JSP, velocity marker, mustache template etc to be compiled to Java source and they contains unicode escapes so using raw strings is not an option.

>> I disagree with Brian that we should try to have an intelligent algorithm to
>> remove the blank spaces
> Thought that's not actually what I proposed.  What I've proposed is to
> start with a choice of "1" or "1a", the latter being "1 with intelligent
> reflow."  So your preference for 1 over 1a is recorded!


More information about the amber-spec-experts mailing list