[antlr-interest] Re: unicode strings using supplemental char range

Terence Parr parrt at cs.usfca.edu
Sat Jun 26 13:39:15 PDT 2004


On Jun 26, 2004, at 1:16 PM, lgcraymer wrote:

> Ter--
>
> I have to say that I am not a fan of the "cave man" approach.  ANTLR
> 2.x is available for backwards compatibility; there is no point in not
> requiring 1.4 or maybe even 1.5 and figure out a clean way to
> implement the ANTLR runtime with generics.  I've discovered that
> unnecessarily reinventing the wheel is usually a waste of effort, and
> focusing on backwards compatibility guarantees that you do a lot of
> wheel reinvention.  Make it easy on yourself!

Understood, but just from a practical point of view, I won't be able to 
code in 1.5 for a long time ;)  (til after I'm hoping to finish 
probably). :(

You have a point about 2.x being available for lower versions of Java.  
Using the NIO in 1.4 would be nice to speed up the lexers chewing on 
char streams...  1.5 is pretty much out of the picture though I'm 
guessing. :(

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
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