• en

cow

XML, JSON, HTML, CSS, and Markdown syntax and libraries

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.

Mre documentation at https://github.com/mirage/ocaml-cow

License ISC
Maintainer anil@recoil.org
Tags org:mirage and org:xapi-project

Events

Aug 26, 2014

Published version 1.0.0

Aug 10, 2014

Published version 0.10.1

Apr 27, 2014

Published version 0.10.0

Dec 20, 2013

Published version 0.9.1

Dec 20, 2013

Published version 0.9.0

  • Now licensed under ISC.

Dec 15, 2013

Published version 0.8.1

Dec 12, 2013

Published version 0.8.0

Sep 25, 2013

Published version 0.7.0

Jul 30, 2013

Published version 0.6.2

Jul 3, 2013

Published version 0.6.1

Jun 21, 2013

Published version 0.6.0

Jun 12, 2013

Published version 0.5.5

May 21, 2013

Published version 0.5.4

Feb 18, 2013

Published version 0.5.3

Jan 15, 2013

Published version 0.5.2

Oct 6, 2012

Published version 0.4.0

Sep 11, 2012

Published version 0.3.2

Sep 4, 2012

Published version 0.3.1

Sep 2, 2012

Published version 0.3.0