On Tuesday 23 September 2008 15:06, Jack Spencer wrote: > I'm trying to get antlr-3.1 to run on OS X 10.5.4. > I d/l-ed the antlr-3.1.tar.gz file from the main antlr download page, > have the antlr-3.1.jar in my CLASSPATH. > The CLASSPATH only contains that specific jar. No other antlr > versions on the system. > But when I run java antlr.Tool foo.g the version string is "Version > 2.7.7 (20060906)"
Try "org.antlr.Tool" instead of "antlr.Tool". ANTLR 3 uses ANTLR 2 to parse ".g" file, so they're both in there. > Further, since it fails to recognize the "grammar foo.g", it really > is ANTLR2 > > So - how do I get the 3.1 jar to act, well... as 3.1? > Thanks, > Jack Randall Schulz List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
