Skip to content
Snippets Groups Projects
Select Git revision
5 results

guile-gumbo

  • Clone with SSH
  • Clone with HTTPS
  • Hugo Hörnquist's avatar
    Hugo Hörnquist authored
    Earlier (sxml html) was used. But since this is a "dirty"
    implementation of HTML parsing, and not an HTML serializer I feel that
    it's better to use a more conservative name.
    728d722a
    History

    Guile Bindings for Gumbo

    Guile bindings for the Gumbo HTML5 parser.

    Contains the Guile module (sxml gumbo), which exports the single method html->sxml.

    Example:

    (html->sxml "Hello")
    ⇒ (*TOP* (html (head) (body "Hello")))
    (html->sxml "<!doctype html><title>Minimum valid document</title>")
    ⇒ (*TOP* (doctype html) (html (head (title "Minimum valid document")) (body)))