[antlr-interest] proposal for 2.7.4, Unicode, and more...
Brian Smith
brian-l-smith at uiowa.edu
Mon May 3 13:21:02 PDT 2004
This is what I prefer as well.
- Brian
>>2) Antlr Features
>>-----------------
>>The only semantic aspect of Antlr that actually depends on
>>charVocabulary is the concept of compliment (element and set). What
>>started this thread was Terrance's observation that it is a constant
>>source of pitfalls: Currently inversion means "of all the characters
>>used in the grammar, not these". Which means that if my grammar only
>>mentions 'A'..'Z', and '0'..'9', then "~('0'..'9')" only means
>>'A'..'Z'. What most people expect is that "~('0'..'9')" should mean
>>ANY character in the input stream except '0'..'9'. Rather than fix
>>this by changing the default charVocabulary, a better approach is to
>>just to directly change the meaning of compliment to mean what people
>>expect it to mean. (See notes below on set inversion).
>>
>>
>>
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