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