OCAML Based Compiler for Thrift