Excellent, well done!
________________________________________
From: daniel_sun [realblue...@hotmail.com]
Sent: 03 October 2016 17:22
To: d...@groovy.incubator.apache.org
Subject: [PROGRESS REPORT 20161004]groovy-parser

Hi List,

      Currently the new parser can parse almost all groovy source
codes(including the scripts embedded) of groovy project(2.5.0 master branch,
*4621 IN TOTAL, 4619 PASSES, 2 FAILED*). In other words, the AST generated
by the new and old parsers are almost same(except corrected location
information of nodes). You can find more details in the groovy-parser
repository(https://github.com/danielsun1106/groovy-parser).

     The 2 FAILED test cases is:
1) src/test/groovy/EscapedUnicodeTest.groovy(TODO find a better way to
translate code written in unicode escapes);
2)
subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/commands/DocCommand.groovy(TODO
confirm: https://github.com/danielsun1106/groovy-parser/issues/5);

      The following work will be done in the near future:
1) set the new parser as the default parser to build groovy itself and run
all test cases;
2) provide friendly error message;
3) add more features to make Groovy more compatible with Java, e.g.
do-while, lambda expression, etc.

     At last, I want to thank *Jochen Theodorou* and *Paul King*, who
provide me many suggestion and help while developping the new parser.

Cheers,
Daniel.Sun



--
View this message in context: 
http://groovy.329449.n5.nabble.com/PROGRESS-REPORT-20161004-groovy-parser-tp5735725.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
This message is intended solely for the use of the individual or organisation 
to whom it is addressed. It may contain privileged or confidential information. 
If you have received this message in error, please notify the originator 
immediately. If you are not the intended recipient, you should not use, copy, 
alter, or disclose the contents of this message. All information or opinions 
expressed in this message and/or any attachments are those of the author and 
are not necessarily those of the originating organisation or its affiliates. 
This message has been swept for viruses and malicious software on leaving our 
Email system. Sitemaker Software Ltd. Registered 03871424

Reply via email to