package ocaml-protoc

  1. Overview
  2. Docs

Compile protobuf typed tree to the OCaml AST.

This module focuses on the compilation steps which transforms a fully resolved Protobuf message into an OCaml representation.

After compilation this module also expose code generation functionality.


val compile : unsigned_tag:bool -> all_types:Pb_field_type.resolved Tt.proto_type list -> Pb_field_type.resolved Tt.proto -> Ot.proto
module Internal : sig ... end

Internal helpers.


Innovation. Community. Security.