Raw string literals and Unicode escapes

John Rose john.r.rose at oracle.com
Wed Feb 14 21:48:20 UTC 2018

On Feb 14, 2018, at 1:43 PM, Alex Buckley <alex.buckley at oracle.com> wrote:
> Strictly speaking, the semantic rule is unnecessary because InputCharacter is DEFINED to exclude the CR and LF line terminators! But the semantic rule makes the intent very very clear. Writing rules in this form also prevents the spec from becoming a soup of statements that are more than just observations but less than full-throated assertions.

That makes sense.

> Anyway, the draft was very useful, thanks!

Glad to hear it!

— John

P.S. I posted another version that takes a slightly different
tack on the restriction of "cannot begin with a backquote".
It basically lifts the whole design of Markdown code quotes.

http://cr.openjdk.java.net/~jrose/jls/raw-string-pages-v5.pdf <http://cr.openjdk.java.net/~jrose/jls/raw-string-pages-v5.pdf>

More information about the amber-spec-observers mailing list