= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
XML, JSON, HTML, CSS, and Markdown syntax and libraries
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
v1.4.0.tar.gz
md5=9c4d71647b4287987a11b6b8a6879625
Description
Writing web-applications requires a lot of skills: HTML, CSS, XML, JSON and Markdown, to name but a few! This library provides OCaml syntax extensions for these web formats by:
-
extending standard OCaml syntax with embedded web DSLs. It has a quotation mechanism which parses HTML, CSS or XML to OCaml, and also anti-quotations that form a template mechanism.
-
using type-driven code generation to generate markup directly from OCaml type declarations. It is possible to mix hand-written and generated code to deal with special-cases. Most of the work is done at pre-processing time, so there is no runtime costs and the generated OCaml code can be manually inspected if desired.
More documentation at https://github.com/mirage/ocaml-cow.
Dependencies (11)
-
ocamlbuild
build
- camlp4
-
ezjsonm
>= "0.4.0"
-
omd
>= "0.8.2"
-
xmlm
>= "1.1.1"
-
uri
>= "1.3.9"
- ulex
-
type_conv
>= "108.07.00"
-
dyntype
>= "0.9.0"
-
ocamlfind
build
-
ocaml
>= "4.00" & < "4.06.0"
Dev Dependencies (1)
-
ounit
with-test
Used by (12)
-
cowabloga
< "0.2.0"
- iocaml
-
mirage-www
>= "1.0.0"
- ml2mxml
- opam-doc
-
opam2web
= "1.4.0"
-
opium
!= "0.8.1" & < "0.17.1"
-
opium_kernel
< "0.17.1"
-
rpc
>= "1.9.51" & < "5.9.0"
-
rpclib-html
< "8.1.1"
- sibylfs
-
stone
>= "0.3" & < "0.4.0"
Conflicts
-
None