On 30.09.2016 10:03, daniel_sun wrote:
Hi Sergei,
I tried to add the statement to expression as an alternative, the
antlr4 failed to generate sources becuase of the error "error(119):
GroovyParser.g4::: The following sets of rules are mutually left-recursive
[statement, expression, statem
Hi Sergei,
I tried to add the statement to expression as an alternative, the
antlr4 failed to generate sources becuase of the error "error(119):
GroovyParser.g4::: The following sets of rules are mutually left-recursive
[statement, expression, statementExpression]".
Currenty the express
Hi Graeme,
Thanks for your staring the project :)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/CONTRIBUTION-groovy-parser-tp5735184p5735698.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
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 wrote:
> Hi Jochen,
>
> The groovy grammar bases on Java7
> grammar(h
Hi Guillaume,
The groovy parser is almost completed. I am parsing groovy files of
groovy project and comparing the old and new parser via the AST result. Some
bugs needs to fix. I wish the brand new parser can execute all test cases of
groovy project before the end of this year.
The f
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 t