groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <Jason.Winneb...@windstream.com>
Subject RE: Groovy 3 lambda, method reference, default methods
Date Wed, 21 Mar 2018 17:26:27 GMT
That's cool that it's basically a separate project. I wonder if IntelliJ itself can use the
Parrot parser then to parse Groovy code, in that case it would always be guaranteed to be
100% "compatible", at least from a syntax perspective. I bet same concept could apply to code
analysis tools.

Jason

-----Original Message-----
From: Daniel.Sun [mailto:sunlan@apache.org] 
Sent: Wednesday, March 21, 2018 12:11 PM
To: users@groovy.incubator.apache.org
Subject: RE: Groovy 3 lambda, method reference, default methods

You can write Java8 style code(e.g. lambda, method/constructor reference,
etc.) when Parrot parser is enabled :-)
See https://github.com/danielsun1106/groovy-parser


> Is there then a major difference in language between 2.6+Parrot and 3.0?

3.0 enables Parrot parser by default, so no differences.


> I wonder if the IntelliJ support ticket should be updated to say 
> support new language features in Groovy 2.6 as well?

I see the title contains "Groovy 3", so I am not sure if it will support 2.6


Cheers,
Daniel.Sun




--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html

This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.

Mime
View raw message