cowversion
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.
Tags | org:mirage org:xapi-project |
---|---|
License | ISC |
Published | |
Maintainer | anil@recoil.org |
Dependencies | |
Source [http] | https://github.com/mirage/ocaml-cow/archive/v1.0.0.tar.gz sha256=03f8509ede1714dff81e854c35e5f882ce410342fad4cb08abe6c404845d6c6b md5=01817bb0985330e82b02f43310869732 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/cow/cow.1.0.0/opam |
Required by
- cowabloga<0.2.0
- iocaml
- mirage-www>=1.0.0
- opam-doc
- opam2web=1.4.0
- opiumwith-test & !=0.8.1 & <0.17.1
- opium_kernelwith-test & <0.17.1
- rpc>=1.9.51 & <5.9.0
- rpclib-html<8.1.1
- stone>=0.3 & <0.4.0