tyxml
A library for building correct HTML and SVG documents
TyXML provides a set of convenient combinators that uses the OCaml type system to ensure the validity of the generated documents. TyXML can be used with any representation of HTML and SVG: the textual one, provided directly by this package, or DOM trees (js_of_ocaml-tyxml) virtual DOM (virtual-dom) and reactive or replicated trees (eliom). You can also create your own representation and use it to instantiate a new set of combinators.
homepage ↗ github: ocsigen/tyxml
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| gentoo gitweb ↗ | 4.6.0_p20260130 | 3 | 14 h | details › |
| nest GitHub ↗ | 4.6.0-r1 | 2 | 14 d | details › |
Versions & arches
| Version | Overlay | amd64 | x86 | Committed | |
|---|---|---|---|---|---|
| 9999 LIVE ≈ | nest | follows upstream — no keywords | 2 mo | view · download · history ↗ | |
| 4.6.0_p20260130 | gentoo | amd64 testing | x86 testing | — | view · download · history ↗ |
| 4.6.0-r1 ≈ | nest | amd64 testing | x86 testing | 2 mo | view · download · history ↗ |
| 4.6.0 | gentoo | amd64 testing | x86 testing | — | view · download · history ↗ |
| 4.5.0 | gentoo | amd64 testing | x86 testing | — | view · download · history ↗ |
Use flags of 4.6.0_p20260130
- +ocamlopt Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)