Re: About Java 7 support
Oliver Burn <[email protected]> Tue, 16 Aug 2011 12:34:27 +1000
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAHZftdU_A=Tc6ybtLm_YzcQtY3s=DX0CQTu+GqRgErptke_Gcg@mail.gmail.com> |
--===============1296251146804329824== Content-Type: multipart/alternative; boundary=bcaec51b9865f3abae04aa963703 --bcaec51b9865f3abae04aa963703 Content-Type: text/plain; charset=ISO-8859-1 Hi Freddy, Thanks for your kind offer. My preference for a new grammar is motivated by the following thoughts: - Upgrade from ANTLRv2 to ANTLRv3 - there a numerous benefits to not being left behind, including newer features and the awesome ANTLRworks - The existing grammar has evolved along with the language - a fresh implementation maybe cleaner - Hoping to find a ANTLR grammar out there that somebody is maintaining. Bare in mind that when Java 8 comes out, where will be a series of changes to the grammar required. That all said, it would be easier to patch the existing grammar. I would happily take a patch that does that. :-) Regards, Oliver On Tue, Aug 16, 2011 at 01:57, Freddy Mallet <[email protected]>wrote: > Hi Oliver, > > We would be happy to contribute to the support of java 7 [1]. Upgrading the > current Antlr grammar should not be too complex (even if not simple) in > order to support new java language enhancements : > > - Strings in switch statements > - try-with-resources statements > - improved type inference for generic instance creation ("diamond") > - better integral literals > - and improved exception handling (multi-catch) > > In ticket 3328367 [1], you mention the option to fully rewrite the Antlr > grammar instead of simply updating the existing one. In few words, could you > explain what would be the advantages of this solution and why you seem to > prefer this second solution ? > > Thanks > Freddy > > [1] - > http://sourceforge.net/tracker/?func=detail&aid=3328367&group_id=29721&atid=397078you seem to be > ---------------------------------------- > Freddy Mallet > www.SonarSource.org > www.SonarSource.com > ---------------------------------------- > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > --bcaec51b9865f3abae04aa963703 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Freddy,<br><br>Thanks for your kind offer.<br><br>My preference for a ne= w grammar is motivated by the following thoughts:<br><ul><li>Upgrade from A= NTLRv2 to ANTLRv3 - there a numerous benefits to not being left behind, inc= luding newer features and the awesome ANTLRworks</li> <li>The existing grammar has evolved along with the language - a fresh impl= ementation maybe cleaner</li><li>Hoping to find a ANTLR grammar out there t= hat somebody is maintaining. Bare in mind that when Java 8 comes out, where= will be a series of changes to the grammar required.</li> </ul>That all said, it would be easier to patch the existing grammar. I wou= ld happily take a patch that does that. :-)<br><br>Regards,<br>Oliver<br><b= r><div class=3D"gmail_quote">On Tue, Aug 16, 2011 at 01:57, Freddy Mallet <= span dir=3D"ltr"><<a href=3D"mailto:[email protected]">freddy.mall= [email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Hi Oliver,<div><br></div><div>We would be h= appy to contribute to the support of java 7 [1]. Upgrading the current Antl= r grammar should not be too complex (even if not simple) in order to suppor= t new java language enhancements :=A0</div> <div><div><ul><li>Strings in switch statements</li><li>try-with-resources s= tatements</li><li>improved type inference for generic instance creation (&q= uot;diamond")</li><li>better integral literals</li><li>and improved ex= ception handling (multi-catch)</li> </ul></div></div><div>In ticket=A03328367 [1], you mention the option to fu= lly rewrite the Antlr grammar instead of simply updating the existing one. = In few words, could you explain what would be the advantages of this soluti= on and why you seem to prefer this second solution ?</div> <div><br></div><div>Thanks</div><div>Freddy</div><div><br></div><div>[1] - = <a href=3D"http://sourceforge.net/tracker/?func=3Ddetail&aid=3D3328367&= amp;group_id=3D29721&atid=3D397078" target=3D"_blank">http://sourceforg= e.net/tracker/?func=3Ddetail&aid=3D3328367&group_id=3D29721&ati= d=3D397078</a> you seem to be=A0<br clear=3D"all"> ----------------------------------------<br><font color=3D"#888888">Freddy = Mallet<br><a href=3D"http://www.SonarSource.org" target=3D"_blank">www.Sona= rSource.org</a><br><a href=3D"http://www.SonarSource.com" target=3D"_blank"= >www.SonarSource.com</a><br> ----------------------------------------<br> </font></div> <br>-----------------------------------------------------------------------= -------<br> uberSVN's rich system and user administration capabilities and model<br= > configuration take the hassle out of deploying and managing Subversion and<= br> the tools developers use with it. Learn more about uberSVN and get a free<b= r> download at: =A0<a href=3D"http://p.sf.net/sfu/wandisco-dev2dev" target=3D"= _blank">http://p.sf.net/sfu/wandisco-dev2dev</a><br> <br>_______________________________________________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]">Checkstyle-user@li= sts.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> --bcaec51b9865f3abae04aa963703-- --===============1296251146804329824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev --===============1296251146804329824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user --===============1296251146804329824==--