textproc/ocaml-markup 1.0.3nb2 NetBSD
Error-recovering streaming HTML5 and XML parsers for OCaml
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- textproc
- Package size
- 1830.1 KiB, 8910.0 KiB installed
Description
Markup.ml is a pair of best-effort parsers implementing the HTML5 and XML specifications.
In addition to being error-correcting, the parsers are: * streaming: capable of parsing partial input and emitting signals while more input is still being received; * lazy: not parsing input unless you have requested the next parsing signal, so you can easily stop parsing partway through a document; * non-blocking: they can be used with Lwt, but still provide a straightforward synchronous interface for simple usage; and * one-pass: memory consumption is limited since the parsers don't build up a document representation, nor buffer input beyond a small amount of lookahead.
Install
Binary package:
pkgin install ocaml-markup
From pkgsrc:
cd /usr/pkgsrc/textproc/ocaml-markup && make install clean