this repo has no description
1opam-version: "2.0"
2
3synopsis: "Error-recovering functional HTML5 and XML parsers and writers"
4
5license: "BSD-3-Clause"
6homepage: "https://github.com/aantron/markup.ml"
7doc: "http://aantron.github.io/markup.ml"
8bug-reports: "https://github.com/aantron/markup.ml/issues"
9
10authors: "Anton Bachin <antonbachin@yahoo.com>"
11maintainer: "Anton Bachin <antonbachin@yahoo.com>"
12dev-repo: "git+https://github.com/aantron/markup.ml.git"
13
14depends: [
15 "ocaml" {< "5.0"}
16 "dune"
17 "uchar"
18 "uutf" {>= "1.0.0"}
19
20 "bisect_ppx" {dev & >= "1.3.0"}
21 "ounit" {dev}
22]
23# Markup.ml implicitly requires OCaml 4.02.3, as this is a contraint of Dune.
24# Without that, Markup.ml implicitly requires OCaml 4.01.0, as this is a
25# constraint of Uutf. Without *that*, Markup.ml works on OCaml 3.11 or earlier.
26
27build: [
28 ["dune" "build" "-p" name "-j" jobs]
29]
30
31description: """
32Markup.ml provides an HTML parser and an XML parser. The parsers are wrapped in
33a simple interface: they are functions that transform byte streams to parsing
34signal streams. Streams can be manipulated in various ways, such as processing
35by fold, filter, and map, assembly into DOM tree structures, or serialization
36back to HTML or XML.
37
38Both parsers are based on their respective standards. The HTML parser, in
39particular, is based on the state machines defined in HTML5.
40
41The parsers are error-recovering by default, and accept fragments. This makes it
42very easy to get a best-effort parse of some input. The parsers can, however, be
43easily configured to be strict, and to accept only full documents.
44
45Apart from this, the parsers are streaming (do not build up a document in
46memory), non-blocking (can be used with threading libraries), lazy (do not
47consume input unless the signal stream is being read), and process the input in
48a single pass. They automatically detect the character encoding of the input
49stream, and convert everything to UTF-8."""
50
51url {
52 src: "https://github.com/aantron/markup.ml/archive/0.8.1.tar.gz"
53 checksum: [
54 "sha256=eb88f74442ec444b7e71cb4a3fd692a8ce7eb114bbaa1bb2119ac6dfa8189831"
55 "md5=d9cd1bdd9ee5d65af7d36ad5900cc0e2"
56 ]
57}