Re: [dev-servo] CSS parser architecture: data structures vs. callbacks

2013-02-11 Thread Robert O'Callahan
On Tue, Feb 12, 2013 at 6:32 PM, Zack Weinberg wrote: > You want to do this as lazily as possible, since with high probability no > human will ever look at any given CSS error message. However, I would > still go for the "add source location information to every token" approach > in a greenfield

Re: [dev-servo] CSS parser architecture: data structures vs. callbacks

2013-02-11 Thread Zack Weinberg
On 2013-02-08 12:36 PM, Simon Sapin wrote: Hi dev-servo, So my CSS parser in Rust is coming along nicely: https://github.com/SimonSapin/rust-cssparser/ It’s mostly complete, although I still need to write some tests and catch up with spec changes. We’re working on the remaining css3-syntax issu

Re: [dev-servo] CSS parser architecture: data structures vs. callbacks

2013-02-11 Thread Brian Anderson
On 02/08/2013 09:36 AM, Simon Sapin wrote: Hi dev-servo, So my CSS parser in Rust is coming along nicely: https://github.com/SimonSapin/rust-cssparser/ It’s mostly complete, although I still need to write some tests and catch up with spec changes. We’re working on the remaining css3-syntax is