[antlr-interest] Binary support

andreas kleiber kleibi at gmx.net
Thu Sep 15 11:36:34 PDT 2011


> A simple way around this is to write a override to the AntlrInputStream
> that "Hexifies" the input, converting every input byte into 2 hexadecimal
> digits.

Hmmm. Interesting point. This would double the data to be parsed and most probably slow down processing a lot. Might not be the right solution for really large binary files, but for small ones this is definitely an option.

Thanks,
Andi
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the antlr-interest mailing list