Gumbo is a HTML5 parsing library in pure C99. This library provides bindings for the Gerbil language.
$ gxpkg install github.com/danielsz/gerbil-gumbo
This module exports a single API call, html->sxml
which accepts a string and returns a sxml tree.
(import :danielsz/gumbo :std/net/request)
(def req (http-get "https://www.google.com"))
(html->sxml (request-text req)
Many thanks to @vyzo for the invaluable guidance, and to @caolan for showing the way with chicken-gumbo.