Skip to content
Lua library for Google's Protocol Buffers
Branch: master
Clone or download
#14 Compare This branch is 34 commits ahead of sean-lin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
protobuf
protoc-plugin Fix coding line Jul 9, 2015
.gitignore Roll back path changes, add install test (tested with lua5.1) Jan 22, 2016
LICENSE
Makefile Roll back path changes, add install test (tested with lua5.1) Jan 22, 2016
README.md Updated rockspec to correctly support lua 5.1 and 5.2, updated versio… Nov 12, 2015
protobuf.rockspec.tmpl Fix paths (was wrong before as the source is built by checking out fr… Jan 26, 2016

README.md

protobuf-lua

Lua library for Google's Protocol Buffers. This is a fork of https://github.com/sean-lin/protoc-gen-lua

Installation and Usage

Using luarocks by running: luarocks install protobuf

Make a link to the protoc plugin, for example:

ln -s /usr/local/lib/luarocks/rocks/protobuf/1.1.0-0/protoc-plugin/protoc-gen-lua /usr/local/bin/

proto files can then be compiled using: protoc --lua_out=./ foo.proto

The API is similar to Google's protobuf python library. An example can be found in the example directory.

You can’t perform that action at this time.