All Projects → yallop → ocaml-pb-plugin

yallop / ocaml-pb-plugin

Licence: MIT License
A protoc plugin for generating OCaml code from protobuf (.proto) files.

Programming Languages

ocaml
1615 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ocaml-pb-plugin

Protobuf
A pure Elixir implementation of Google Protobuf
Stars: ✭ 442 (+2355.56%)
Mutual labels:  serialization, protobuf, protocol-buffers
protoc-plugin
A protoc compiler plugin for Clojure applications
Stars: ✭ 28 (+55.56%)
Mutual labels:  serialization, protobuf, protocol-buffers
nimpb
Protocol Buffers for Nim
Stars: ✭ 29 (+61.11%)
Mutual labels:  serialization, protobuf, protocol-buffers
elm-protobuf
protobuf plugin for elm
Stars: ✭ 93 (+416.67%)
Mutual labels:  serialization, protobuf, protocol-buffers
javascript-serialization-benchmark
Comparison and benchmark of JavaScript serialization libraries (Protocol Buffer, Avro, BSON, etc.)
Stars: ✭ 54 (+200%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf Nim
Protobuf implementation in pure Nim that leverages the power of the macro system to not depend on any external tools
Stars: ✭ 90 (+400%)
Mutual labels:  serialization, protobuf, protocol-buffers
kafka-protobuf-serde
Serializer/Deserializer for Kafka to serialize/deserialize Protocol Buffers messages
Stars: ✭ 52 (+188.89%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf
Protocol Buffers - Google's data interchange format
Stars: ✭ 52,305 (+290483.33%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf Java Format
Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
Stars: ✭ 134 (+644.44%)
Mutual labels:  serialization, protobuf, protocol-buffers
protobuf-d
Protocol Buffers Compiler Plugin and Support Library for D
Stars: ✭ 32 (+77.78%)
Mutual labels:  serialization, protobuf, protocol-buffers
protoconfig
ProtoConfig 1.0: Open Standard for using, defining, and consuming software configuration input in a unified way.
Stars: ✭ 24 (+33.33%)
Mutual labels:  protobuf, protocol-buffers
stockholm
💵 Modern Python library for working with money and monetary amounts. Human friendly and flexible approach for development. 100% test coverage + built-in support for GraphQL and Protocol Buffers transports using current best-practices.
Stars: ✭ 26 (+44.44%)
Mutual labels:  protobuf, protocol-buffers
protodoc
protodoc generates Protocol Buffer documentation.
Stars: ✭ 43 (+138.89%)
Mutual labels:  protobuf, protocol-buffers
makego
Makefile setup for our Golang projects.
Stars: ✭ 65 (+261.11%)
Mutual labels:  protobuf, protocol-buffers
protobuf-ipc-example
Protocol buffer IPC example
Stars: ✭ 19 (+5.56%)
Mutual labels:  protobuf, protocol-buffers
agentgo
Hi! Agentgo is a tool for making remote command executions from server to client with golang, protocol buffers (protobuf) and grpc.
Stars: ✭ 15 (-16.67%)
Mutual labels:  protobuf, protocol-buffers
protobuf-example-java
Companion Repository for my Protocol Buffers course
Stars: ✭ 67 (+272.22%)
Mutual labels:  protobuf, protocol-buffers
goprotoc
Library for writing protoc plugins in Go; also includes a pure-Go protoc replacement
Stars: ✭ 73 (+305.56%)
Mutual labels:  protobuf, protocol-buffers
grpc-chat
Simple Chat Server/Client implemented with gRPC
Stars: ✭ 107 (+494.44%)
Mutual labels:  protobuf, protocol-buffers
protocell
Conjures up convenient OCaml types and serialization functions based on protobuf definition files
Stars: ✭ 18 (+0%)
Mutual labels:  protobuf, protocol-buffers

[Note: this plugin is now developed alongside the library in the pb repository.]

pb-plugin

A protoc plugin that turns .proto files into OCaml protobuf serialization functions built with the pb library.

Use

protoc --plugin=protoc-gen-custom=$(type -p pb_plugin) --custom_out=./build file.proto

Implementation notes

The interface between protoc and plugins is defined as a set of protobuf messages that describe the contents of a .proto file.

The pb-plugin plugin is bootstrapped. The file src/protoc_messages.ml that reads and writes messages passed between protoc and the plugin is generated from the file misc/messages_unnested.proto using pb-plugin itself


Travis build Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].