From the scm repository at Rubyforge.org
http://rubyforge.org/plugins/scmsvn/viewcvs.php/trunk/ext/http11/http11_parser.rl?root=mongrel&view=log
 
Scott

 
On 6/19/06, Danny Lagrouw <[EMAIL PROTECTED]> wrote:
Ola,

The JavaCC (Compiler Compiler) should be able to create a parser based
on BNF. I'd look into it, but the http11_parser.rl file is not
included in the gem file. Any idea where I could find it??

--
Danny Lagrouw ([EMAIL PROTECTED] )
Read my blog: http://blog.dannynet.net


On 6/19/06, Ola Bini <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been peeking at Mongrel again, trying to figure out the best way to do
> this. There are 3 parts of the C library in http11: the ternary search
> tree, the generated http parser and the C ruby-code to bind these together
> into the classes Mongrel::HttpParser and Mongrel::URIClassifier.
> Now, the TST is no problem to port, it's max 2 hours work. The same goes
> for the C code for knitting everything together; not many hours work. The
> problem has been the generated parser. I have examined the output from it,
> and it's really not that advanced. Of course, a hand crafted parser might
> work, but on the other hand we can actually use Zed's Ragel-definitions and
> a BNF-to-Java tool to create a good parser based on that information. This
> seems like the right way to go for me. I won't have any time to do it the
> next week, though, so if someone has any free time, please go ahead! =)
>
> Regards
>   Ola Bini
>
>
>
>
> _______________________________________________
> Jruby-devel mailing list
> Jruby-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jruby-devel
>


_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to