[antlr-interest] Added ranges, escapes to [a-z] notation in lexer to honey badger
Terence Parr
parrt at cs.usfca.edu
Sun Jan 22 12:04:24 PST 2012
Hi. grab another update. augmented […] in lexer:
a-z is the inclusive range
escape characters with special meaning: trnbf\'" such as \t
\uXXXX Unicode character with text digits
\- is the - character
\] is the ] character
Missing final range value gives just first char.
Inverted ranges give nothing
Bad escape sequence gives nothing
http://www.antlr.org/wiki/display/ANTLR4/Examples
http://www.antlr.org/depot/antlr4/main/CHANGES.txt
Download here:
http://antlr.org/download/antlr-4.0ea-complete.jar
Ter
More information about the antlr-interest
mailing list