[Mongrel] HTTP Parser (Regal)
mrueckert at suse.de
Mon Sep 25 18:52:02 EDT 2006
On 2006-09-25 17:48:23 +0100, Kris Leech wrote:
> Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP
> requests using a Regal generated parser. I downloaded the source but
> do not see the lex and yacc files...
as you wrote yourself mongrel is using ragel for its parser. ragel does
not use lex/yacc at all.
http11_parser.c and http11_parser.rl are your friends. and of course the
ragel documentation at http://www.cs.queensu.ca/home/thurston/ragel/.
hope this helps
openSUSE - SUSE Linux is my linux
openSUSE is good for you
More information about the Mongrel-users