package ocaml-protoc

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f

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

Code generator to decode messages from protobuf message options

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_mode : sig ... end
Sourcemodule Pb_codegen_ocaml_type : sig ... end

OCaml type representation

Plugin that dumps a representation of the parsed proto in comments

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_raw_option : sig ... end

Protobuf File/Message/Field raw options (i.e. exactly as they parsed)

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