package ocaml-protoc

  1. Overview
  2. Docs
Pure OCaml compiler for .proto files

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-protoc-3.0.0.tbz
sha256=923b651cf0f400b5ee2fd1d05798a408b4c0a378aab655e4c2618bcce3fd7bff
sha512=5a1c80115e111f3d4e9384feb9a1a49375d06b11538cdfd388cb4d8a2cb1bb7ae6201d0555daf970be40a017cbb30819e7bec9875a418f5f316b0115999827df

doc/ocaml-protoc.compiler-lib/Ocaml_protoc_compiler_lib/index.html

Module Ocaml_protoc_compiler_libSource

Sourcemodule Pb_codegen_all : sig ... end

Generate all the code for a given OCaml module.

Sourcemodule Pb_codegen_backend : sig ... end

Compile protobuf typed tree to the OCaml AST.

Sourcemodule Pb_codegen_decode_binary : sig ... end

Code generator for the decode function

Sourcemodule Pb_codegen_decode_bs : sig ... end
Sourcemodule Pb_codegen_decode_yojson : sig ... end

Code generator for the decode JSON function

Sourcemodule Pb_codegen_default : sig ... end

Code generator for the default functions (i.e builders)

Sourcemodule Pb_codegen_encode_binary : sig ... end

Code generator for the encode function

Sourcemodule Pb_codegen_encode_bs : sig ... end
Sourcemodule Pb_codegen_encode_yojson : sig ... end

Code generator for the encode JSON function

Sourcemodule Pb_codegen_formatting : sig ... end

Formatting utilities for code generation

Sourcemodule Pb_codegen_make : sig ... end

Code generator for the make functions (i.e builders, but stricter than default)

Sourcemodule Pb_codegen_ocaml_type : sig ... end

OCaml type representation

Sourcemodule Pb_codegen_plugin : sig ... end

Plugin architecture.

Sourcemodule Pb_codegen_pp : sig ... end

Code generator for the pp function

Sourcemodule Pb_codegen_services : sig ... end
Sourcemodule Pb_codegen_types : sig ... end

Code generator for the OCaml types

Sourcemodule Pb_codegen_util : sig ... end

Common utility functions for OCaml code generation

Sourcemodule Pb_exception : sig ... end

Compiler exception

Sourcemodule Pb_field_type : sig ... end

Protobuffer Field type

Sourcemodule Pb_format_util : sig ... end
Sourcemodule Pb_location : sig ... end

File location utilities

Sourcemodule Pb_logger : sig ... end

Logging functionality allow printing debugging information

Sourcemodule Pb_option : sig ... end

Protobuf File/Message/Field options

Sourcemodule Pb_parsing : sig ... end

Parsing compilation step

Sourcemodule Pb_parsing_lexer : sig ... end
Sourcemodule Pb_parsing_parse_tree : sig ... end

Protobuf parse tree

Sourcemodule Pb_parsing_parser : sig ... end
Sourcemodule Pb_parsing_util : sig ... end

Parse tree utilities

Sourcemodule Pb_typing : sig ... end

Typing compilation step

Sourcemodule Pb_typing_graph : sig ... end

Graph algorithms to support the recursion analysis

Sourcemodule Pb_typing_recursion : sig ... end

Mutually recursive type resolution

Sourcemodule Pb_typing_resolution : sig ... end

Type resolution.

Sourcemodule Pb_typing_type_tree : sig ... end
Sourcemodule Pb_typing_util : sig ... end

Typed tree utilities

Sourcemodule Pb_typing_validation : sig ... end

Typed tree construction and validation

Sourcemodule Pb_util : sig ... end

Standard library missing functions

OCaml

Innovation. Community. Security.