I am happy to announce version 0.3 of orpc
, a tool for generating RPC bindings from OCaml signatures. Orpc can generate ONC RPC stubs for use with Ocamlnet (in place of ocamlrpcgen), and it can also generate RPC over HTTP stubs for use with ocamljs. You can use most OCaml types in interfaces, as well as labelled and optional arguments.
Changes since version 0.2 include
- a way to use types defined outside the interface file, so you can use a type in more than one interface
- support for polymorphic variants
- a way to specify “abstract” interfaces that can be instantiated for synchronous, asynchronous, and Lwt clients and servers
- bug fixes
Development of orpc
has moved from Google Code to Github; see
Let me know what you think.