[antlr-interest] grammar for HTML 4.01
Terence Parr
parrt at jguru.com
Mon Aug 19 13:24:30 PDT 2002
On Monday, August 19, 2002, at 11:10 AM, shawn fang wrote:
> Hi,
>
> Is there an Antlr grammar for HTML 4.01 ? There is a grammar for
> HTML 3.2 in Antlr 2.7.1. However, it failed to parse most of
> the web pages I downloaded from the Web.
That is because no one follows the HTML language. To truly parse the
filth out there, you need a really really loose parser not a rigid one.
Terence
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list