Third draft spec for String Templates (JEP 430) now available

Brian Goetz brian.goetz at oracle.com
Mon Feb 13 20:31:06 UTC 2023


Yes, this was a pretty brilliant move of specsmanship here.  I had 
feared that we would have to pull out a bigger shotgun here.

On 2/10/2023 7:38 PM, Dan Smith wrote:
> Enthusiastically endorse two big design choices reflected here:
>
> - The use of Fragments to represent the string content that gets 
> interleaved with embedded expressions
>
> - The requirement that a StringTemplate or TextBlockTemplate only 
> appear in a program after a '.' character
>
> Nice work, feels quite manageable and doesn't blow up the grammar!
>
>
>> On Feb 9, 2023, at 7:28 AM, Gavin Bierman <gavin.bierman at oracle.com> 
>> wrote:
>>
>> Dear experts:
>>
>> A new, updated spec covering JEP 430 (String Templates) is now 
>> available at:
>>
>> https://cr.openjdk.java.net/~gbierman/jep430/latest
>>
>> This is a substantial rewrite: it now covers more fully how templates 
>> are tokenized, how to deal with ambiguities, and how text block 
>> templates are dealt with.
>>
>> Comments welcomed!
>> Gavin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20230213/f42bb4e9/attachment.htm>


More information about the amber-spec-observers mailing list