[antlr-interest] About the html grammar (and debugging)

Şeref Arıkan serefarikan at kurumsalteknoloji.com
Mon Aug 28 01:09:17 PDT 2006


Hi there,
I have been taking a look that the html grammar in the grammars section, 
and the example html page that comes with it. It seems that the grammar 
can't parse the test page. I have checked it out and the error is 
related to meta tags in the head of the html file.
However I could not see anyting wrong with the grammar? This has also 
led to a desperate search for a good method for debugging the generated 
parser other than walking the code. Even if the code is fine, I'd really 
like a better method that shows me the tokens waiting in the lexer and 
such. There is a plugin for eclipse, but I can't say I am satisfied with 
it. I have also failed to use the -debug switch, since I get a 
"java.lang.ClassNotFoundException: antlr.parseview.ParseView" error.
So any comments on html grammar and debugging in general would be very 
much appreciated
Best Regards
Seref Arikan




More information about the antlr-interest mailing list