Re: [whatwg] Html5 Parser Tree Construction Stage

2013-07-01 Thread Ian Hickson
On Sun, 23 Jun 2013, Mohammad Al Houssami (Alumni) wrote: > > I am building an HTML5 parser according to the specs on the whatwg > website. I am currently in the tree construction stage and it seems to > be so complex to have a general view of what is happening by reading the > specs or at leas

Re: [whatwg] Html5 Parser Tree Construction Stage

2013-06-23 Thread Adam Barth
You're welcome to look at Blink's implementation of tree construction. That might be a good way of seeing what data structure might be useful. The work is split into two major objects: https://chromium.googlesource.com/chromium/blink/+/master/Source/core/html/parser/HTMLTreeBuilder.h https://chr

[whatwg] Html5 Parser Tree Construction Stage

2013-06-23 Thread Mohammad Al Houssami (Alumni)
Hello All, I am building an HTML5 parser according to the specs on the whatwg website. I am currently in the tree construction stage and it seems to be so complex to have a general view of what is happening by reading the specs or at least know what things are needed ( like node types element t