Skip to content

Add muskitty-html5-parser to issue 661 (Project/Tooling Updates)#8412

Open
Ink-dark wants to merge 2 commits into
rust-lang:mainfrom
Ink-dark:add-muskitty-html5-parser-twir-661
Open

Add muskitty-html5-parser to issue 661 (Project/Tooling Updates)#8412
Ink-dark wants to merge 2 commits into
rust-lang:mainfrom
Ink-dark:add-muskitty-html5-parser-twir-661

Conversation

@Ink-dark

Copy link
Copy Markdown

Adding muskitty-html5-parser to the Project/Tooling Updates section of issue 661 (2026-07-22).

What

muskitty-html5-parser is an LLM-agent-built HTML5 parser written in pure Safe Rust:

  • Tokenizer (WHATWG §13.2.5): 99.8% pass on html5lib tokenizer suite (7022/7036; the 14 failures are XML processing instructions, which the spec defines as parse errors)
  • Tree construction (WHATWG §13.2.6): 100% pass on html5lib tree construction suite (1716/1716, including adoption agency algorithm, foster parenting, foreign content, and template insertion mode)
  • Zero unsafe code, zero C/C++ dependencies

LLM Authorship Disclosure

Per TWIR's LLM policy, the core parser logic in this crate is LLM-generated. The human author wrote the project constitution (three rules: spec > WPT > Chromium, safe-first, spec-first) and the Python test-feedback loop; the LLM wrote the Rust implementation. Full disclosure with Rust-specific observations is in LLM_GENERATION.md.

Links

@github-actions

Copy link
Copy Markdown

Thank you for your contribution to This Week in Rust! Our automated checks found some possible issues with these changes:

Link check

You can see more details here: https://github.com/rust-lang/this-week-in-rust/actions/runs/29590080080

@github-actions

Copy link
Copy Markdown

Thank you for your contribution to This Week in Rust! Our automated checks found some possible issues with these changes:

Link check

You can see more details here: https://github.com/rust-lang/this-week-in-rust/actions/runs/29591012048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant