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