Opam Package markup.1.0.0-1

Package info

opam-namemarkup
opam-version1.0.0-1
synopsisError-recovering functional HTML5 and XML parsers and writers
description 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 parsers can, however, be easily configured to be strict, and to accept only full documents. Apart from this, the parsers are streaming (do not build up a document in memory), non-blocking (can be used with threading libraries), lazy (do not consume input unless the signal stream is being read), and process the input in a single pass. They automatically detect the character encoding of the input stream, and convert everything to UTF-8.
authors
  • Anton Bachin <antonbachin@yahoo.com>
homepagehttps://github.com/aantron/markup.ml
licenseMIT
license-fileLICENSE.md
readme-fileREADME.md
deps (6)
revdeps (7)
metas (1)
libraries (1)

Package modules

Package sources

markup

Package files

lib/markup/xml_writer.mli
lib/markup/xml_writer.ml
lib/markup/xml_tokenizer.mli
lib/markup/xml_tokenizer.ml
lib/markup/xml_parser.mli
lib/markup/xml_parser.ml
lib/markup/utility.ml
lib/markup/trie.ml
lib/markup/text.ml
lib/markup/stream_io.ml
lib/markup/opam
lib/markup/namespace.mli
lib/markup/namespace.ml
lib/markup/markup__Xml_writer.cmx
lib/markup/markup__Xml_writer.cmti
lib/markup/markup__Xml_writer.cmt
lib/markup/markup__Xml_writer.cmi
lib/markup/markup__Xml_tokenizer.cmx
lib/markup/markup__Xml_tokenizer.cmti
lib/markup/markup__Xml_tokenizer.cmt
lib/markup/markup__Xml_tokenizer.cmi
lib/markup/markup__Xml_parser.cmx
lib/markup/markup__Xml_parser.cmti
lib/markup/markup__Xml_parser.cmt
lib/markup/markup__Xml_parser.cmi
lib/markup/markup__Utility.cmx
lib/markup/markup__Utility.cmt
lib/markup/markup__Utility.cmi
lib/markup/markup__Trie.cmx
lib/markup/markup__Trie.cmt
lib/markup/markup__Trie.cmi
lib/markup/markup__Text.cmx
lib/markup/markup__Text.cmt
lib/markup/markup__Text.cmi
lib/markup/markup__Stream_io.cmx
lib/markup/markup__Stream_io.cmt
lib/markup/markup__Stream_io.cmi
lib/markup/markup__Namespace.cmx
lib/markup/markup__Namespace.cmti
lib/markup/markup__Namespace.cmt
lib/markup/markup__Namespace.cmi
lib/markup/markup__Kstream.cmx
lib/markup/markup__Kstream.cmti
lib/markup/markup__Kstream.cmt
lib/markup/markup__Kstream.cmi
lib/markup/markup__Input.cmx
lib/markup/markup__Input.cmti
lib/markup/markup__Input.cmt
lib/markup/markup__Input.cmi
lib/markup/markup__Html_writer.cmx
lib/markup/markup__Html_writer.cmti
lib/markup/markup__Html_writer.cmt
lib/markup/markup__Html_writer.cmi
lib/markup/markup__Html_tokenizer.cmx
lib/markup/markup__Html_tokenizer.cmti
lib/markup/markup__Html_tokenizer.cmt
lib/markup/markup__Html_tokenizer.cmi
lib/markup/markup__Html_parser.cmx
lib/markup/markup__Html_parser.cmti
lib/markup/markup__Html_parser.cmt
lib/markup/markup__Html_parser.cmi
lib/markup/markup__Error.cmx
lib/markup/markup__Error.cmt
lib/markup/markup__Error.cmi
lib/markup/markup__Entities.cmx
lib/markup/markup__Entities.cmt
lib/markup/markup__Entities.cmi
lib/markup/markup__Encoding.cmx
lib/markup/markup__Encoding.cmt
lib/markup/markup__Encoding.cmi
lib/markup/markup__Detect.cmx
lib/markup/markup__Detect.cmti
lib/markup/markup__Detect.cmt
lib/markup/markup__Detect.cmi
lib/markup/markup__Common.cmx
lib/markup/markup__Common.cmt
lib/markup/markup__Common.cmi
lib/markup/markup__.ml
lib/markup/markup__.cmx
lib/markup/markup__.cmt
lib/markup/markup__.cmi
lib/markup/markup.mli
lib/markup/markup.ml
lib/markup/markup.cmxs
lib/markup/markup.cmxa
lib/markup/markup.cmx
lib/markup/markup.cmti
lib/markup/markup.cmt
lib/markup/markup.cmi
lib/markup/markup.cma
lib/markup/markup.a
lib/markup/kstream.mli
lib/markup/kstream.ml
lib/markup/input.mli
lib/markup/input.ml
lib/markup/html_writer.mli
lib/markup/html_writer.ml
lib/markup/html_tokenizer.mli
lib/markup/html_tokenizer.ml
lib/markup/html_parser.mli
lib/markup/html_parser.ml
lib/markup/error.ml
lib/markup/entities.ml
lib/markup/encoding.ml
lib/markup/dune-package
lib/markup/detect.mli
lib/markup/detect.ml
lib/markup/common.ml
lib/markup/META
lib/markup
doc/markup/README.md
doc/markup/LICENSE.md
doc/markup