groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniil Ovchinnikov <daniil.ovchinni...@jetbrains.com>
Subject Re: Groovy 3 lambda, method reference, default methods
Date Thu, 22 Mar 2018 11:41:00 GMT
IntelliJ will support Groovy 3 but with own parser. 

- using the parser provided by Groovy library restricts support to that library version;
- compiler parsers are usually non-recoverable, but in IntelliJ we want to provide ability
to work with broken code as much as possible, so we have own parsers for (almost) each language.

—

Daniil Ovchinnikov
Software Developer
JetBrains
jetbrains.com
“Drive to develop”



> On 21 Mar 2018, at 22:30, mg <mgbiz@arscreat.com> wrote:
> 
> I guess the Groovy 3.0/3.0-- (aka 2.6) syntax elements support will be switchable in
IntelliJ, anything else would make little sense to me.
> But we have the expert on this mailing list, who should be able to tell us... :-)
> mg
> 
> -------- Ursprüngliche Nachricht --------
> Von: "Daniel.Sun" <sunlan@apache.org>
> Datum: 21.03.18 17:10 (GMT+01:00)
> An: users@groovy.incubator.apache.org
> Betreff: 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


Mime
View raw message