Re: About Java 7 support
Freddy Mallet <[email protected]> Tue, 16 Aug 2011 10:07:51 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAPyGxijw0SSe_yQJcBcbOCZWQO4+iu2C=dQC-GKeTNn2QZ0dMg__38412.5661374584$1313482094$gmane$org@mail.gmail.com> |
--===============5396152747665678670== Content-Type: multipart/alternative; boundary=bcaec52c693350f1d704aa9ae0ba --bcaec52c693350f1d704aa9ae0ba Content-Type: text/plain; charset=UTF-8 Thanks for your answer Oliver ! So we'll start with the first baby step to patch the current Antlr grammar. We should get back to you during the upcoming weeks. Kind regards, Freddy ---------------------------------------- Freddy Mallet www.SonarSource.org www.SonarSource.com ---------------------------------------- On Tue, Aug 16, 2011 at 4:34 AM, Oliver Burn <[email protected]> wrote: > 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > > --bcaec52c693350f1d704aa9ae0ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div>Thanks for your answer Oliver ! So we'll start with the first baby= step to patch the current Antlr grammar. We should get back to you during = the upcoming weeks.=C2=A0</div><div><br></div><div>Kind regards,</div><div>= Freddy<br clear=3D"all"> ----------------------------------------<br>Freddy Mallet<br><a href=3D"htt= p://www.SonarSource.org" target=3D"_blank">www.SonarSource.org</a><br><a hr= ef=3D"http://www.SonarSource.com" target=3D"_blank">www.SonarSource.com</a>= <br> ----------------------------------------<br> <br><br><div class=3D"gmail_quote">On Tue, Aug 16, 2011 at 4:34 AM, Oliver = Burn <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">oliver@= puppycrawl.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> 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"><div><div></div><div class=3D"h5">On Tue, Aug = 16, 2011 at 01:57, Freddy Mallet <span dir=3D"ltr"><<a href=3D"mailto:fr= [email protected]" target=3D"_blank">[email protected]</a>></s= pan> wrote:<br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class=3D"h5= ">Hi Oliver,<div><br></div><div>We would be happy to contribute to the supp= ort of java 7 [1]. Upgrading the current Antlr grammar should not be too co= mplex (even if not simple) in order to support new java language enhancemen= ts :=C2=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=C2=A03328367 [1], you mention the option to= fully rewrite the Antlr grammar instead of simply updating the existing on= e. In few words, could you explain what would be the advantages of this sol= ution 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=C2=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></div></div>-----------------------------------------------------------= -------------------<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: =C2=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]" target=3D"_blank">= [email protected]</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> <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: =C2=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></div> --bcaec52c693350f1d704aa9ae0ba-- --===============5396152747665678670== 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 --===============5396152747665678670== 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 --===============5396152747665678670==--