On Wed, 2002-02-27 at 18:44, Jim Seach wrote: > Jason, > > Thanks, those are good points. I've been looking at both, and was > wondering why Jakarta projects seem to favor JavaCC.
Antlr is supposed to be great, I just never like it. It's just personal taste. I also think that JavaCC is a bit faster and it's used for all the sun tools like Javac and Javadoc so when the JavaCC grammars are updated (and they weren't by webgain, a user contributed a 1.4 grammar) you pretty much know you're ok. The only other parser I considered was the aspectj parser which is hand written so it will eventually be fast (jim is going for correctness first) and it will obviously handle aspects and I'm interested in aspect metrics too. > Jim Seach > > --- Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On Wed, 2002-02-27 at 18:36, Jim Seach wrote: > > > > > > --- Jason van Zyl <[EMAIL PROTECTED]> wrote: > > > > On Wed, 2002-02-27 at 17:38, Juancarlo A�ez wrote: > > > > > > <snip> > > > > > > > > Against JavaCC: The parser cannot be modified without JavaCC, a > > > > closed-source package. Developers need the package and knowledge > > > > about it to modify the parser. If JavaCC goes away, the parser > > would > > > > be pure Java and undertandable and modifyiable by all. > > > > > > > > There are ant task to make dealing with JavaCC, and if you really > > > > want a > > > > fun task I'll work with you on making an open source JavaCC clone > > :-) > > > > Now that would be fun! > > > > > > Why not use Antlr (http://www.antlr.org)? It is public domain and > > uses > > > an LL(k) grammar for both lexing and parsing, which allows for more > > > powerful lexers than those based on regular expressions. > > > > I never like Antlr grammars, I personally just found JavaCC made more > > sense to me and it's what I started with because Antlr didn't, and > > still > > doesn't as far as I know, handle unicode properly and the Velocity > > parser needed to deal with unicode properly. I've been using JavaCC > > every since. > > > > > Jim Seach > > > > > > > > > > > > Juanco > > > > > -- > > > > > Ing. Juancarlo A�ez > > > > > Modelistica > > > > > mailto:[EMAIL PROTECTED] > > > > > http://www.modelistica.com > > > > > telef: (412) 222-1160 > > > > > (212) 761-5432 > > > > > --- > > > > -- > > > > jvz. > > > > > > > > Jason van Zyl > > > > [EMAIL PROTECTED] > > > > > > > > http://tambora.zenplex.org > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Greetings - Send FREE e-cards for every occasion! > > > http://greetings.yahoo.com > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > -- > > jvz. > > > > Jason van Zyl > > [EMAIL PROTECTED] > > > > http://tambora.zenplex.org > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Greetings - Send FREE e-cards for every occasion! > http://greetings.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
