Re: Escape Sequences For Managing Whitespace (Preview)

2019-08-13 Thread Alex Buckley
- Title: "Escape Sequences for Line Continuation and White Space (Preview)" (the narrative term is "white space" per the JLS and JEP 355; the only time the ` ` character after "white" is missing is in the name of the grammar production WhiteSpace) - Goal: "Improve the the observability of the

Re: Comment received on amber-spec-comments

2019-08-13 Thread Jim Laskey
I should mention up front that text blocks are a preview feature and this open discussion is important before we lock the feature down. Unlike the multi-faceted raw string literals, text blocks attempt to do one thing well; provide a literal that makes it easy to express multiple lines of text.

Re: Escape Sequences For Managing Whitespace (Preview)

2019-08-13 Thread John Rose
+100 One nit: <\ u 0 0 2 0> is not an escape sequence and so should not be displayed next to <\ 0 4 0>. The former is processed before tokenization globally while the latter is processed inside strings only. This confusing fact is an additional motivation for <\ s> since most people don’t kno

Escape Sequences For Managing Whitespace (Preview)

2019-08-13 Thread Jim Laskey
https://bugs.openjdk.java.net/browse/JDK-8227870 Comment back to this list, thank you. Cheers, -- Jim