Hello,

how is it possible to define chars as hex or unicode chars. e.g.:

fragment ALPHA
        : 'a'..'z' | 'A'..'Z' | '.' | ',' | ' ' | '@'

I have a syntax in rfc2234[1] format and there hex chars are defined.
How should I transfer this to ANTLR? e.g.:

   CHAR         = %x01-7F
        ; Any C0 Controls and Basic Latin, excluding NULL from
        ; Code Charts, pages 7-6 through 7-9 in [UNICODE]

regards
Andreas

[1] http://tools.ietf.org/html/rfc2234

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to