I posted a parser for HTTP headers (derived from the Ragel HTTP parsers of Unicorn/Mongrel) a while ago:
It parses directly to a WSAPI-like environment, but should be easily modifiable for the output you want.
On Wed, Apr 28, 2010 at 10:52 AM, Patrick Donnelly
<batrick@batbytes.com> wrote:
Hi List,
Does anyone have any written lpeg parsers (in any form, proof of
concept too) for HTTP/HTML lying around?
--
- Patrick Donnelly