vyzo / gerbil-gumbo

Gumbo parser bindings for Gerbil scheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gerbil-gumbo

Definition

Gumbo is a HTML5 parsing library in pure C99. This library provides bindings for the Gerbil language.

Installation

$ gxpkg install github.com/danielsz/gerbil-gumbo

Usage

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)

Credit

Many thanks to @vyzo for the invaluable guidance, and to @caolan for showing the way with chicken-gumbo.

About

Gumbo parser bindings for Gerbil scheme


Languages

Language:Scheme 100.0%