Skip to content

Plugin module to protoc to support Erlang protocol buffers.

License

Notifications You must be signed in to change notification settings

aantono/protoc-gen-erlang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a plug module for google’s protoc to produce erlang code. Currently it’s only tested on Ubuntu 10.10 using libprotoc 2.4.1 and Erlang R14, but there’s nothing in any of it that should preclude different versions or compilation on Windows.

Features

  • Nested messages and enums within Erlang.
  • Default values.
  • Encoding and decoding packed repeated fields.
  • Supports all protobuf language specs.
  • Triq based testing.

Installation

Install development versions of protoc. I compiled from source. The makefile shows how to compile and run the code.

Key points:

The erl_protobuf_test module contains a sampling of .proto files. Adding any .proto file to it will add it to the test suite.

About

Plugin module to protoc to support Erlang protocol buffers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.2%
  • Erlang 1.8%