groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergei Egorov <bsid...@gmail.com>
Subject Re: [CONTRIBUTION]groovy-parser
Date Fri, 30 Sep 2016 07:45:18 GMT
Hi all,

just curious - will it be possible to do "any statement is an expression"
with the new grammar?
That would be really awesome, especially for macro methods


BR,
Sergei

On Fri, Sep 30, 2016 at 10:31 AM daniel_sun <realbluesun@hotmail.com> wrote:

> Hi Jochen,
>
>       The groovy grammar bases on Java7
> grammar(https://github.com/antlr/grammars-v4/blob/master/java/Java.g4) at
> the beginning because I noticed the comment of Java8 grammar, which tells
> us
> Java7 has better performance.
>
>        In addition, I refine the cache management of antlr4, so the memory
> will not grow forever and use the cache as far as it can. I find that about
> 20% time saved after the work done.
>
> Cheers,
> Daniel.Sun
>
>
>
> --
> View this message in context:
> http://groovy.329449.n5.nabble.com/CONTRIBUTION-groovy-parser-tp5735184p5735695.html
> Sent from the Groovy Dev mailing list archive at Nabble.com.
>

Mime
View raw message