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 <[email protected]> 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

Reply via email to