atd code generator for OCaml/js_of_ocaml