AoAH Day 15: Porting a complete HTML5 parser and browser test suite

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Introduces 'vibespiling' as a named practice for AI-assisted code porting and raises unresolved copyright questions for anyone porting open-source code with agents.

Read this as

A programmer named Anil Madhavapeddy used AI coding agents to translate an HTML5 parser called JustHTML from Python into the OCaml language, coining the term 'vibespiling' for AI-powered porting. The result, html5rw, passes the same html5lib-tests browser test suite as the original. He credited the original author with a joint licence and hesitates to release it to OCaml's package repository.

Anil Madhavapeddy produced html5rw, an OCaml HTML5 parser AI-ported from JustHTML, passing the html5lib-tests suite. He licensed it jointly with original author Emil Stenström and is uncertain about releasing it to the opam repository, arguing a redundant AI-ported library could displace human maintainers whose unpaid creativity sustains ecosystems. Organisations adopting agent-driven porting face the same authorship-credit and maintainer-relations questions.

Anil Madhavapeddy AI-ported Emil Stenström's JustHTML parser (which Simon Willison had separately ported to JavaScript) into OCaml as html5rw. It passes the html5lib-tests suite, the standard HTML5 conformance test set. Licensing is a joint licence with Stenström; the transitive Rust dependency licence was not yet traced. No benchmark numbers beyond test-suite pass status are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

html5rw JustHTML html5lib-tests ocaml opam Advent of Agentic Humps vibespiling

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.