atd code generator for OCaml/js_of_ocaml
OCaml
Latest commit db160b1 Sep 25, 2013 barko failing on `Nullable and `Wrap
Permalink
Failed to load latest commit information.
LICENSE
OMakefile
OMakeroot
README.md
atdjs_emit.ml
atdjs_main.ml

README.md

atdjs is a tool for generating serializers and unserializers from atd type definition. Like atdgen, atdjs generates OCaml source code. However, unlike atdgen, the generated code is intended for compilation by the js_of_ocaml compiler, an OCaml compiler with a Javascript backend.

atdjs simplifies the construction of browser-based client apps (written in OCaml and compiled with js_of_ocaml which send/receive typed messages via Javascript's XHR.

Plain OCaml and atd are required for building atdjs. js_of_ocaml and jsonoj are required for building the code which atdjs generates.