Yes the scanning of binary is done by the lexer. The unique thing with Antlr though is that the lexer can do parsing. Weird but true.

Here's a reference to it's binary parsing ability:

http://www.antlr.org/doc/lexer.html#Scanning_Binary_Files

-- Glen



At 10:13 AM 21/02/2003 -0600, you wrote:
From most of my experience, most of your parsers are not setup to parse
binary directly.  I do know that in the lex/yacc (flex/bison for the gnu
people) that you can create your own lexer and have the parser itself call
it and antlr might have a similar capability.

Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to