[antlr-interest] Binary data
Indhu Bharathi
indhu.b at s7software.com
Thu Jan 22 22:08:27 PST 2009
'parseBinary' in Antlr examples folder might help you.
- Indhu
----- Original Message -----
From: joel at mentics.com
To: antlr-interest at antlr.org
Sent: Friday, January 23, 2009 1:51:23 AM GMT+0530 Asia/Calcutta
Subject: [antlr-interest] Binary data
I have data that is mixed text and binary, so it might have a text
field followed by a binary encoded number--2 bytes or something. Is
this something ANTLR can handle? How do I define binary tokens for the
lexer? Is there something where I can tell it to read a certain number
of bytes, or until a certain byte delimiter (that might be different
than the overall encoding--so even if in 2 byte char stream, look for a single
byte delimiter)?
Thanks!
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