[antlr-interest] stuff I don't like about ANTLR 2.x

brian-l-smith at uiowa.edu brian-l-smith at uiowa.edu
Thu Mar 11 09:13:06 PST 2004


Quoting John Pybus <john-yahoo at pybus.org>:

> Igor Fedorenko wrote:
> > Being new to ANTLR and parsing in general I haven't got many complains, 
> > for me ANTLR works just the way it was designed to ;-)
> > One little thing though. It would be nice if ANTLR-generated 
> > parsers/lexers did not require antlr.jar at runtime. Makes no or little 
> > technical difference, but would help when it comes to getting lawyers 
> > approval for ANTLR. Thanks for the great tool.
> 
> I understand where you're coming from, but I'm not sure it would make so 
> much difference.  To include the same functionality, the antlr generated 
> java files would have to contain substantial amounts of boilerplate code 
> present in the ANTLR distribution and would almost certainly count as 
> derived works.

I agree with what John said. You are still distributing the code, whether or not
it is in ANTLR.JAR or mixed in with the rest of your generated code. In fact, I
would prefer less generated code and more code in the runtime library. So,
please keep the runtime JAR file and make it bigger!

- Brian




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list