cow
Authors | Anil Madhavapeddy, Thomas Gazagnaire, David Sheets and Rudi Grinberg | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
License | ISC | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Homepage | https://github.com/mirage/ocaml-cow | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Issue Tracker | https://github.com/mirage/ocaml-cow/issues | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tags | org:mirage and org:xapi-project | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Maintainer | anil@recoil.org | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Dependencies |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
Published | Dec 21, 2014 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Source [http] | https://github.com/mirage/ocaml-cow/archive/v1.1.0.tar.gz 4d0380b1526660648abbe5aa3ae3485a | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Statistics | Not installed in the last month. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/cow/cow.1.1.0/opam |
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.
More documentation at https://github.com/mirage/ocaml-cow.