[antlr-interest] java versions

Jim Idle jimi at temporal-wave.com
Mon May 31 12:47:23 PDT 2010


Just use -jsr14 with the javac compiler and you will have 1.4 compatible classes. In fact the standard ANTLR build via Maven does this already so that the ANTLR jars are 1.4 readable. All the stuff about generics and so on is elided and the classes are marked as 1.4.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Anders.Karlsson at sybase.com
> Sent: Sunday, May 30, 2010 11:30 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] java versions
> 
> Hi,
> 
> I was wondering if there is some way for the ANTLRWorks (1.4) to dumb
> down
> the generated Java code? e.g. generate Java 1.4 code. This would be
> needed
> (AFAIK) in order to be compatible with the Blackberry.
> 
> Thank you and kind regards,
> Anders
> 
> Anders Karlsson | Staff SE II, Architect | Sybase Inc, Singapore, ( +65
> 6571 3125 | * anders.karlsson at sybase.com
> -- It takes a tonne of fact to overcome an ounce of opinion
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address





More information about the antlr-interest mailing list