I’ve recently released the first version of Protocell which offers yet another way of generating OCaml code from
Full support for all
proto3 primitive and user-defined types.
Supports imports and generates one
.ml file per
Automagically supplies code for imports of Google’s “well-known types” when needed.
Concise yet comprehensive test framework that cross-checks serializations with those of
Fully bootstrapped: Protocell uses Protocell-generated code to interact with
Lean on dependencies, especially when it comes to the runtime library.
Supports OCaml compiler versions 4.04.1 and above.
Can generate and parse of
protoc's text format (mostly for testing and debugging purposes).
More information and example code can be found at the project’s homepage.
I’m still just a newbie when it comes to OCaml, its tooling and ecosystem. I warmly welcome any sort of input or feedback.