Re: [dev] [sw] Suckless web-framework

From: Anthony J. Bentley <anthonyjbentley_AT_gmail.com>
Date: Mon, 5 Apr 2010 20:26:04 -0600

On Mon, Apr 05, 2010 at 11:38:42AM +0000, Connor Lane Smith wrote:
> Websites like this are extremely difficult to parse. "Is this <p> the
> end of a paragraph or the beginning? Let's test both!" In making your
In case it's not clear: implicit end tags are _valid_ html, and
completely unambiguous. E.g., <p><p> will _always_ be interpreted as
<p></p><p></p>, never <p><p></p></p>. I don't see how it's unclear,
either -- you can't have a <p> (or <ul> or <table>) nested within a <p>
anyway, so it's not hard to interpret.

> But what if we at Suckless were to attempt to write an HTML parser (oh
This reminds me -- has anyone used hubbub? I'd love an excuse to make
a project with it.

--Anthony J. Bentley
Received on Tue Apr 06 2010 - 02:26:04 UTC

This archive was generated by hypermail 2.2.0 : Tue Apr 06 2010 - 02:36:03 UTC