> From: "Jim Laskey"
> To: "Remi Forax"
> Cc: "Brian Goetz" , "amber-spec-experts"
>
> Sent: Vendredi 15 Octobre 2021 20:34:58
> Subject: Re: String Interpolation
> Yes, the methodology we have chosen does avoid boxing (and var
mailto:fo...@univ-mlv.fr>>,
"amber-spec-experts"
mailto:amber-spec-experts@openjdk.java.net>>
Sent: Mercredi 13 Octobre 2021 21:32:19
Subject: Re: String Interpolation
After grumbling a lot, let's restart
[...]
That's why the specification allow you to provide a seco
> From: "Brian Goetz"
> To: "Remi Forax" , "amber-spec-experts"
>
> Sent: Mercredi 13 Octobre 2021 21:32:19
> Subject: Re: String Interpolation
After grumbling a lot, let's restart
[...]
>> That's why the specification a
> From: "Brian Goetz"
> To: "Remi Forax" , "amber-spec-experts"
>
> Sent: Mercredi 13 Octobre 2021 21:32:19
> Subject: Re: String Interpolation
> The ability to capture per-call-site computation so it could be done exactly
> once (including ge
> From: "Brian Goetz"
> To: "Remi Forax" , "amber-spec-experts"
>
> Sent: Mercredi 13 Octobre 2021 21:32:19
> Subject: Re: String Interpolation
> The ability to capture per-call-site computation so it could be done exactly
> once (including ge
S. (Sorry, I know you wanted the magic indy hook.)
On 10/13/2021 1:09 PM, Remi Forax wrote:
Hi everybody, i've spend some time to think how the String interpolation +
Policy should be specified and implemented.
The goal is to add a syntax specifying a user defined method to "interpola
Hi everybody, i've spend some time to think how the String interpolation +
Policy should be specified and implemented.
The goal is to add a syntax specifying a user defined method to "interpolate"
(for a lack of better word) a string with arguments.
Given that it's
On Sep 17, 2021, at 3:49 AM, Tagir Valeev
mailto:amae...@gmail.com>> wrote:
Another alternative is to have a single list of template fragments,
something like this:
Probably the VM will prefer to see a single string.
There are lots of unused Unicode points that can
serve as segment markers.
Thi
- Original Message -
> From: "Tagir Valeev"
> To: "Jim Laskey"
> Cc: "amber-spec-experts"
> Sent: Vendredi 17 Septembre 2021 12:49:30
> Subject: Re: String Tapas Redux: Beyond mere string interpolation
> It's interesting that
- Original Message -
> From: "John Rose"
> To: "Jim Laskey"
> Cc: "amber-spec-experts"
> Sent: Vendredi 17 Septembre 2021 08:43:29
> Subject: Re: String Tapas Redux: Beyond mere string interpolation
> Yay!
>
> I agree with Brian’
JDK 17 has been plated and left the kitchen, we should have a look-see
at one of the new menu items Brian and I have had on a slow boil for these last
few months; Templated Strings.
Before you start shouting out, "Templated Strings? This isn't what I ordered! The
subject said string inter
mments for now. For
>>>> me, the proposal looks great as is. Go ahead and implement it :D
>>>>
>>>> With best regards,
>>>> Tagir Valeev.
>>>>
>>>> On Thu, Sep 16, 2021 at 8:28 PM Jim Laskey wrote:
>>>>>
>>
> > > Tagir Valeev.
> > >
> > > On Thu, Sep 16, 2021 at 8:28 PM Jim Laskey
> > > wrote:
> > > >
> > > > Amber experts,
> > > >
> > > > Now that JDK 17 has been plated and left the kitchen, we should have a
> &g
gt; >
> > > Amber experts,
> > >
> > > Now that JDK 17 has been plated and left the kitchen, we should have a
> > > look-see at one of the new menu items Brian and I have had on a slow boil
> > > for these last few months; Templated Strings.
> &
d left the kitchen, we should have a
> > look-see at one of the new menu items Brian and I have had on a slow boil
> > for these last few months; Templated Strings.
> >
> > Before you start shouting out, "Templated Strings? This isn't what I
> > ordered!
Yay!
I agree with Brian’s response to Remi: Nothing new here
regarding eval or ASTs.
My favorite wished-for-use-case for templated strings is
a grammar where the “holes” are grammar actions or
other configuration points for rules. This paper made
me envious for the sake of Java, and also made m
ated and left the kitchen, we should have a
> look-see at one of the new menu items Brian and I have had on a slow boil for
> these last few months; Templated Strings.
>
> Before you start shouting out, "Templated Strings? This isn't what I ordered!
> The subject said
that's not the point.
So, what is the point? The point is that string interpolation is one of
the most commonly requested features, and we'd make a lot of people
happy if we did it. While it's a harmless-seeming feature in theory,
we're unwilling to do the weak version o
bad thing.
Rémi
[1] https://en.wikipedia.org/wiki/Hygienic_macro
> From: "Jim Laskey"
> To: "amber-spec-experts"
> Sent: Jeudi 16 Septembre 2021 15:28:41
> Subject: String Tapas Redux: Beyond mere string interpolation
> Amber experts,
> Now that JDK 1
ered!
The subject said string interpolation!!!", take the time to follow this link
https://github.com/openjdk/amber-docs/tree/master/site/design-notes/templated-strings.md.
After reading, we hope you'll see that the offering is much better than
interpolation meat and potatoes.
Cheers,
-- Jim
20 matches
Mail list logo