[antlr-interest] About the html grammar (and debugging)
Şeref Arıkan
serefarikan at kurumsalteknoloji.com
Mon Aug 28 04:46:21 PDT 2006
Hi there,
I have downloaded it, and it looks mostly fine, however, I'd like to
learn how to use the -debug switch in antlr.
Regards
Seref
Prashant Deva wrote:
> For debugging antlr grammar look at -
> ANTLR Studio ( available at http://www.placidsystems.com)
>
> If you dont want to buy it, you can always use the evaluation version
> just for some debugging.
>
> --
> Prashant Deva
> Creator, ANTLR Studio
> Founder, Placid Systems, www.placidsystems.com
> <http://www.placidsystems.com>
>
> On 8/28/06, * Şeref Arıkan* <serefarikan at kurumsalteknoloji.com
> <mailto:serefarikan at kurumsalteknoloji.com>> wrote:
>
> 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