ocaml-markup (ocaml/ocaml-markup) Updated: 6 months, 1 week ago Add to my watchlist

Error-recovering functional HTML5 and XML parsers and writers

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.

Version: 1.0.3 License: MIT GitHub
Reset

26 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
15 10654 2024-10-11 15:34:53 0:00:18 960 build successful
10.6.x86_64 211958 2024-08-03 12:51:42 0:00:14 61617 failed install-dependencies
10.6 176138 2024-08-03 12:50:52 0:00:16 61572 failed install-dependencies
10.7 200126 2024-08-03 12:50:10 0:00:06 61328 failed install-dependencies
10.9 286284 2024-08-03 12:48:27 0:00:03 88588 failed install-dependencies
10.11 273022 2024-08-03 12:48:13 0:00:03 89078 failed install-dependencies
10.8 186657 2024-08-03 12:47:02 0:00:05 59381 failed install-dependencies
10.10 278961 2024-08-03 12:45:41 0:00:03 88916 failed install-dependencies
12.arm64 123947 2024-04-29 6:58:43 0:00:20 34686 build successful
14 36353 2024-04-28 6:05:11 0:00:21 8755 build successful
12 104365 2024-04-28 2:12:26 0:00:28 34699 build successful
10.14 203485 2024-04-28 0:01:40 0:00:20 66967 build successful
10.8 172816 2024-04-27 21:03:12 0:00:08 55745 failed install-dependencies
10.13 228966 2024-04-27 18:00:54 0:00:25 76218 build successful
10.9 271971 2024-04-27 16:29:18 0:00:04 84952 failed install-dependencies
10.15 180096 2024-04-27 15:41:52 0:00:27 55959 build successful
11 150862 2024-04-27 15:23:45 0:00:26 45885 build successful
10.11 259661 2024-04-27 11:06:54 0:00:04 85383 failed install-dependencies
10.12 269080 2024-04-27 8:43:54 0:00:25 84163 build successful
10.10 264787 2024-04-27 7:12:07 0:00:03 85276 failed install-dependencies
10.7 185533 2024-04-27 6:55:13 0:00:08 57686 failed install-dependencies
13.arm64 56724 2024-04-27 3:29:47 0:00:17 20315 build successful
13 67222 2024-04-27 3:26:39 0:00:18 20576 build successful
10.6 162055 2024-04-26 22:04:57 0:00:11 57908 failed install-dependencies
10.6.x86_64 197846 2024-04-26 21:32:05 0:00:12 57956 failed install-dependencies
14.arm64 25168 2024-04-26 20:00:06 0:00:18 8433 build successful