[webkit-dev] Grammer for html parsing

Darin Adler darin at apple.com
Mon Feb 9 09:44:08 PST 2009

On Feb 9, 2009, at 3:58 AM, Nilesh Patil wrote:

> I need to know where does grammer for html Parser has been defined  
> in webkit. Is it a string based comparison directly with tags or  
> done any other way?

The source files are HTMLTokenizer.cpp and HTMLParser.cpp. It doesn’t  
use a parser generator such as yacc or bison or a lexer generator such  
as lex or flex, if that's what you're asking.

     -- Darin

More information about the webkit-dev mailing list