[antlr-interest] Unicode handling

Terence Parr parrt at cs.usfca.edu
Wed Apr 21 19:06:17 PDT 2004


On Apr 21, 2004, at 6:57 PM, John D. Mitchell wrote:

>>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
>>>>>>> On Apr 21, 2004, at 4:31 PM, John D. Mitchell writes:
> [...]
>
>>> For Antlr v3, aside from my perennial haranguing for complete and 
>>> proper
>>> hoisting support, I really want to get rid of all of this ridiculous 
>>> use
>>> of in-band signalling.  Please join me in pestering Ter about this. 
>>> :-)
>
>> UNICODE will work well.  Note that 2.7.3 should do pretty well at
>> UNICODE.  Give it a shot :) \uFFFE is the max valid unicode right?  -1
>> shouldn't be a problem anymore.
>
> And what about the other end of the spectrum?

It can parse binary with no sweat, so I'm hoping it's cool :)  I 
certainly have an example where it uses \0 and such for lexing.
Ter
--
Professor Comp. Sci., 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