Raw string literals and Unicode escapes

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


On Feb 14, 2018, at 12:24 PM, Alex Buckley <alex.buckley at oracle.com> wrote:
> 
> There is plenty of precedent for semantic rules

In my draft version this is done with "where" clauses on the
grammar rules:

>  
> RawStringLiteral:
> 
>   RawQuote RawStringBody RawQuote
>   where the two raw-quotes are constrained to be identical
> 
> RawQuote:
>   ` {`}
>   where the preimage is constrained to be unescaped


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20180214/82299926/attachment.html>


More information about the amber-spec-experts mailing list