gumbo

HTML5 parsing library in pure C99

WWW CVSWeb GITHub
  1. Package version
    gumbo-0.12.1
  2. Maintainer
    The OpenBSD ports mailing-list

Gumbo is an implementation of the HTML5 parsing algorithm implemented as
a pure C99 library with no outside dependencies. It's designed to serve as
a building block for other tools and libraries such as linters, validators,
templating languages, and refactoring and analysis tools.

Goals & features:

- Fully conformant with the HTML5 spec.
- Robust and resilient to bad input.
- Simple API that can be easily wrapped by other languages.
- Support for source locations and pointers back to the original text.
- Support for fragment parsing.
- Relatively lightweight, with no outside dependencies.
- Passes all html5lib tests, including the template tag.
- Tested on over 2.5 billion pages from Google's index.

  • devel/metaauto
  • devel/autoconf/2.71
  • devel/metaauto
  • devel/automake/1.16
  • devel/libtool