package cow

  1. Overview
  2. Docs
XML, JSON, HTML, CSS, and Markdown syntax and libraries

Install

Dune Dependency

Authors

Maintainers

Sources

v1.2.1.tar.gz
sha256=c9ae1f0be8ca2fb37673e89c5e5f1a4cfb70d7cfa7e99322ca49592431434ba0
md5=aa8d4ee7d77f46f99e63c3e074175c29

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.

Tags

org:mirage org:xapi-project

Published: 05 Mar 2015

Dependencies (12)

  1. ocamlbuild build
  2. camlp4
  3. ezjsonm >= "0.4.0"
  4. omd >= "0.8.2"
  5. xmlm >= "1.1.1"
  6. uri >= "1.3.9"
  7. re
  8. ulex
  9. type_conv >= "108.07.00"
  10. dyntype >= "0.9.0"
  11. ocamlfind build
  12. ocaml < "4.06.0"

Dev Dependencies (1)

  1. ounit with-test

Used by (12)

  1. cowabloga < "0.2.0"
  2. iocaml
  3. mirage-www >= "1.0.0"
  4. ml2mxml
  5. opam-doc
  6. opam2web = "1.4.0"
  7. opium != "0.8.1" & < "0.17.1"
  8. opium_kernel < "0.17.1"
  9. rpc >= "1.9.51" & < "5.9.0"
  10. rpclib-html < "8.1.1"
  11. sibylfs
  12. stone >= "0.3" & < "0.4.0"

Conflicts

None

OCaml

Innovation. Community. Security.