Cool.  The basic mechanics shouldn't be too difficult to implement.  Just
need to come up with 2 lexers (binary and text) and a parser.

Shawn

-----Original Message-----
From: Glen Stampoultzis [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 6:30 PM
To: POI Developers List
Subject: RE: More formulotic thought


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]


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

Reply via email to