[antlr-interest] Binary files and different int types

Xavier Pegenaute xpegenaute at telepolis.es
Sun Jul 22 09:59:37 PDT 2007


Hello,

I am trying to parse a binary file with a set of values but I have some 
problems.  I have been reading the user manual and seems that it is ok 
for a basic datatype but I don't know how I can support these other 
different data types:
- Int 32
- Int 64
- Double

any one know how I can differentiate every rule?

The binary file "follow" this rule:
(Double Int32 Int32 Int64 Int32)*

Thanks & Regards.
Xavi.


More information about the antlr-interest mailing list