[rust-dev] HTML5 parser

2013-08-14 Thread Archos
I think that Servo is using a binding to a C library to parsing HTML5 (from Nginx). But now, Google has opened-sources Gumbo, a C Library for Parsing HTML5. So it could be used until that somebody builds a parser in pure Rust. https://github.com/google/gumbo-parser

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Simon Sapin
Le 14/08/2013 08:59, Archos a écrit : I think that Servo is using a binding to a C library to parsing HTML5 (from Nginx). Right now, Servo is using Hubbub, from the NetSurf project. How is Nginx related to this? http://www.netsurf-browser.org/projects/hubbub/ But now, Google has

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Patrick Walton
On 8/14/13 7:59 PM, Archos wrote: I think that Servo is using a binding to a C library to parsing HTML5 (from Nginx). But now, Google has opened-sources Gumbo, a C Library for Parsing HTML5. So it could be used until that somebody builds a parser in pure Rust.

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Archos
El 14/08/13 09:04, Simon Sapin escribió: Le 14/08/2013 08:59, Archos a écrit : I think that Servo is using a binding to a C library to parsing HTML5 (from Nginx). Right now, Servo is using Hubbub, from the NetSurf project. How is Nginx related to this?

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Masklinn
On 2013-08-14, at 10:15 , Archos wrote: But now, Google has opened-sources Gumbo, a C Library for Parsing HTML5. So it could be used until that somebody builds a parser in pure Rust. https://github.com/google/gumbo-parser That’s cool, but what would it buy us to switch from one C

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Sanghyeon Seo
I though that Servo was using C files related to Nginx after of read the header of this one file: https://github.com/mozilla-servo/rust-http-client/blob/master/http_parser.c Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev You are confusing HTTP with HTML.

Re: [rust-dev] HTML5 parser

2013-08-14 Thread Brian Anderson
On 08/14/2013 01:07 AM, Patrick Walton wrote: On 8/14/13 7:59 PM, Archos wrote: I think that Servo is using a binding to a C library to parsing HTML5 (from Nginx). But now, Google has opened-sources Gumbo, a C Library for Parsing HTML5. So it could be used until that somebody builds a parser