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. http://rubyforge.org/cgi-bin/viewvc.cgi/trunk/ext/http11/?root=mongrel 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 darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
