Tagged articles
3 articles
Page 1 of 1
21CTO
21CTO
Oct 22, 2024 · Frontend Development

Introducing Gosub: A Rust‑Powered Open‑Source Browser Engine

Gosub is a newly launched, Rust‑written open‑source browser engine that offers modular, high‑performance HTML5 and CSS3 parsing, a rendering engine, JavaScript bridge, and WebAssembly support, inviting contributors to help build a flexible alternative to dominant browsers.

HTML parserRustWebAssembly
0 likes · 5 min read
Introducing Gosub: A Rust‑Powered Open‑Source Browser Engine
DaTaobao Tech
DaTaobao Tech
Jul 14, 2022 · Frontend Development

Implementing a Simple HTML Parser in JavaScript

The article walks through building a simple JavaScript HTML parser by explaining browser parsing basics, using regular expressions to detect tags, managing a stack to match opening and closing elements, creating element and text node objects, and outlining code snippets while noting omitted features like script and style handling.

DOMHTML parserJavaScript
0 likes · 9 min read
Implementing a Simple HTML Parser in JavaScript
Taobao Frontend Technology
Taobao Frontend Technology
Apr 21, 2022 · Frontend Development

Build a Simple HTML Parser in JavaScript: Step-by-Step Guide

This article explains how to create a basic HTML parser in JavaScript by using regular expressions and a stack to convert an HTML string into a tree of nodes, complete with code examples, initialization steps, and handling of opening, closing, and self‑closing tags.

DOMHTML parserJavaScript
0 likes · 9 min read
Build a Simple HTML Parser in JavaScript: Step-by-Step Guide