[antlr-interest] Mixing PHP and HTML --> error

Ruben Fonseca rubenfonseca at di.uminho.pt
Wed May 2 03:15:02 PDT 2007


Hi to all!

I'm writting a PHP grammar. As you know, PHP can be used in the middle
of HTML code. I'm having an hard time to ignore the HTML part. The
parser always give me errors when I mix PHP and HTML.

Is there any cool way of dealing with this? I'm using AntLR 3 right now.

Thank you!



More information about the antlr-interest mailing list