[antlr-interest] Unicode Character Classes available

Sam Harwell sam at tunnelvisionlabs.com
Thu Aug 16 15:01:50 PDT 2012


I think those could certainly be handy. :) I have a couple grammars which
rely on Unicode letters and/or digits (by class), and they're currently
implemented by "hacking" the internal data structures produced by ANTLR 4 at
runtime using the results of Character.isLetter(c) and/or
Character.isDigit(c).

--
Sam Harwell
Owner, Lead Developer
http://tunnelvisionlabs.com

-----Original Message-----
From: Roger Jack [mailto:rjack at elegancetech.com] 
Sent: Thursday, August 16, 2012 2:19 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Unicode Character Classes available

I have just uploaded a AntlrUnicode.txt file into the Grammar section of the
Antlr website.  The file contains Unicode Character Classes in Antlr lexer
fragment format. Is this useful to anybody? Is there a better way to handle
Unicode Character Classes?

Thanks!

Roger Jack



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



More information about the antlr-interest mailing list