[ string literals ] Extending the escape language (was: String literals: some principles)

John Rose john.r.rose at oracle.com
Wed May 8 20:27:43 UTC 2019

On May 8, 2019, at 1:26 PM, Guy Steele <guy.steele at oracle.com> wrote:
>> On May 7, 2019, at 6:14 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
>> . . . at the end of the line, one cannot differentiate between \<eol> and \<space> when reading the code.
> This suggests a design constraint for the ESL: whatever \<eol> means, \<horizontal space><eol> ought to mean the same thing.

Or else \<hspace>+<eol> is illegal.
In other words, there shouldn't be
more than one non-error meaning.

More information about the amber-spec-experts mailing list