[antlr-interest] Building an HTTP parser

Tom Wells drshade at gmail.com
Mon Dec 29 06:15:04 PST 2008


Hello Antlr List

I am working on a project and tasked with writing an HTTP parser in C
running on an embedded hardware device. I am loathe to hand-code this
obviously and it seems like ANTLR might be my best bet for generating
the parser. Does anyone have any opinions as to the suitability of
using something like ANTLR for this kind of parsing, and/or done
anything similar? I am clearly pretty new to writing grammars and most
examples are of programming language parsers so it's difficult to
understand how this might relate to something which seems more
structured, with clearly seperated status, header and body sections,
such as HTTP.

Any suggestions, advice or pointers gladly appreciated!
Thanks,
Tom

-- 
http://www.tomwells.org


More information about the antlr-interest mailing list