request to share java grammar

Alex Buckley alex.buckley at oracle.com
Tue Jan 28 15:13:45 PST 2014


Hi Roman,

Visit the Java SE 8 Platform Spec at 
http://cr.openjdk.java.net/~mr/se/8/java-se-8-fr-spec-01/ and follow the 
link to Annex 3. There, you will find a preview of JLS8, and chapter 19 
gives the grammar. It is a automatic concatenation of all the 
productions in the earlier chapters; clicking a nonterminal will take 
you to the original production. Unfortunately, I am not able to share 
the source files from which the PDF is generated.

Alex

On 1/28/2014 2:01 PM, Roman Ivanov wrote:
> Hello compiler-dev team,
>
> I am lead developer of Checkstyle
> project(http://checkstyle.sourceforge.net/).
>
> To add new java8 features support in our projects we need to update our
> Java grammar to support new syntax features (like lambda).
>
> Our grammar is based on ANTRL library.
>
> Do you have any publicly available resources/sources that could help us
> to upgrade to Java8 syntax ?
> any resources could help.
>
> Thanks,
> Roman Ivanov.
>


More information about the compiler-dev mailing list