Skip to content

Enfernuz/protobuf-lua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Changelog

Fixed

  • The issues that are addressed by this PR: djungelorm#13
  • Inappropriate use of the uint32 value checker to handle the uint64 type: #1

About

Lua library for Google's Protocol Buffers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 71.1%
  • Python 16.0%
  • C 12.5%
  • Makefile 0.4%