I see.

Feel free to merge the new parser back when you think it is mature and ready to go home ;)  Currently The parser is lack of some syntax checks(e.g. continue should only be used in loop) and friendly messages for developers.

Cheers,
Daniel.Sun



在 "Jochen Theodorou [via Groovy]" <ml-node+[hidden email]>,2016年10月7日 19:03写道:



On 07.10.2016 08:52, daniel_sun wrote:
> How about providing a jar file containing the new parser, which is
> compiled by Java8. When developers use Java8, they can try the new
> parser by turning on the switch.

I think for the time being we could make the new parser just a
subproject that depends on main. Then this subproject can be java8,
while the remainder of the project is java7. We need to
ressurect/repair/activate the antlrparser plugin mechanism, but
otherwise there should be no big problem.... Of course java7 would then
not be able to use the new parser. WE can still think about porting or
not, once we have it merged back.

bye Jochen



If you reply to this email, your message will be added to the discussion below:
http://groovy.329449.n5.nabble.com/PROGRESS-REPORT-20161004-groovy-parser-tp5735725p5735888.html
To unsubscribe from [PROGRESS REPORT 20161004]groovy-parser, click here.
NAML


View this message in context: Re: 答复: 答复: [PROGRESS REPORT 20161004]groovy-parser
Sent from the Groovy Dev mailing list archive at Nabble.com.