OCaml HTML5 parser/serialiser based on Python's JustHTML
1(lang dune 3.21)
2(name html5rw)
3
4(generate_opam_files true)
5
6(license MIT)
7(authors "Anil Madhavapeddy <anil@recoil.org>")
8(maintainers "Anil Madhavapeddy <anil@recoil.org>")
9(source (tangled anil.recoil.org/ocaml-html5rw))
10
11(package
12 (name html5rw)
13 (synopsis "Pure OCaml HTML5 parser implementing the WHATWG specification")
14 (description
15 "A pure OCaml HTML5 parser that passes the html5lib-tests suite. \
16 Implements the WHATWG HTML5 parsing specification including tokenization, \
17 tree construction, encoding detection, and CSS selector queries.")
18 (depends
19 (ocaml (>= 5.1.0))
20 (astring (>= 0.8.5))
21 (bytesrw (>= 0.3.0))
22 (uutf (>= 1.0.0))
23 (uuuu (>= 0.3.0))
24 (uunf (>= 15.0.0))
25 (xmlm (>= 1.4.0))
26 langdetect
27 (odoc :with-doc)
28 (jsont (>= 0.2.0))
29 (cmdliner (>= 1.3.0))))
30