[antlr-interest] ANTLR 3: Newbie EEPROM Binary Parsing
Christian Bryan
christian.bryan at dsl.pipex.com
Tue Nov 7 13:06:15 PST 2006
Hi,
I am currently taking a crash course in ANTLR 3 and language
recognition in general for my latest project which involves parsing a
file from an automotive company. The format of the file is like the
following:
vbf_version = 2.2;
header {
/*Contents*/
} &^%$£@@&*% ...
I have not a problem in writing the lexer or parser rules to parse
the vbf_version line the header or its contents. My problem is how do
I write a rule to get the lexer to consume everything after the right
curly brace including spaces as this is EEPROM data.
Cheers
Christian.
More information about the antlr-interest
mailing list