www/gumbo 0.14.1 OpenBSD
HTML5 parsing library in pure C99
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
021fe1296a- Categories
- www
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | www/gumbo | 0.14.1 |
| FreeBSD | devel/gumbo | 0.14.1 |
| DragonFly | devel/gumbo | 0.13.0 |
| MidnightBSD | devel/gumbo | 0.10.1 |
| HardenedBSD | devel/gumbo | 0.14.1 |
| GhostBSD | devel/gumbo | 0.14.0 |
Install
Binary package:
pkg_add gumbo
From the ports tree:
cd /usr/ports/www/gumbo && make install