debedb / protobuf-lua

Lua library for Google's Protocol Buffers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Lua library for Google's Protocol Buffers

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Lua 71.8%Language:Python 15.0%Language:C 12.8%Language:Makefile 0.5%