30Aug Pure JavaScript HTML Parser
Recently I was having a little bit of fun and decided to go about writing a pure JavaScript HTML parser. Some might remember my one project, env.js, which ported the native browser JavaScript features to the server-side (powered by Rhino). One thing that was lacking from that project was an HTML parser (it parsed strict XML only).
I’ve been toying with the ability to port env.js to other platforms (Spidermonkey derivatives and the ECMAScript 4 Reference Implementation) and if I were to do so I would need an HTML parser. Because of this fact it became easiest to just write an HTML parser in pure JavaScript.
More at John Resig
Related articles by Zemanta
- Pure JavaScript HTML Parser
- Interview with Steve Yegge on Rhino on Rails and more
- Getting a Rhino
- Welcome to a bumper edition of the SitePoint Tech Times!
- Podcast #2, SXSW, Ninja Articles
- Generics in JavaScript 2
- How To Minimize Your Javascript and CSS Files for Faster Page Loads
- JavaScript creator ponders past, future
- JavaScript 2’s new direction
- JavaScript 2’s new direction
Leave a Comment
You must be logged in to post a comment.


![Pure Javascript Html Parser Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=a33db31e-4a8c-4dae-8a6c-aafd36b289ca)















