ocaml-markup (ocaml/ocaml-markup) Updated: 1 year ago Add to my watchlist

Error-recovering functional HTML5 and XML parsers and writers

Markup.ml provides an HTML parser and an XML parser. The parsers are wrapped in a simple interface: they are functions that transform byte streams to parsing signal streams. Streams can be manipulated in various ways, such as processing by fold, filter, and map, assembly into DOM tree structures, or serialization back to HTML or XML. Both parsers are based on their respective standards. The HTML parser, in particular, is based on the state machines defined in HTML5. The parsers are error-recovering by default, and accept fragments. This makes it very easy to get a best-effort parse of some input. The …

Version: 1.0.3 License: MIT GitHub
Displaying statistics for 1,126 users who made submissions during: until

Statistics for selected duration

2025-Apr-08 to 2025-May-08


Total Installations 1
Requested Installations 0


macOS Versions

Port Versions



Xcode Versions

Loading Chart

CLT Versions



Variants table

Variants Count


Monthly Statistics

Can remain cached for up to 24 hours