# lua module for dp2

# df
lua sdk for plugin

# Foreign Function Interface
there are 2 choise, select anyone you like

## luaffi
Standalone FFI library for calling C functions from lua. Compatible with the luajit FFI interface.

https://github.com/jmckaskill/luaffi

PS: source was changed to add some feature and bugfix

DO NOT build by yourself and replace it !

## alien
A C FFI for Lua

https://mascarenhas.github.io/alien/

PS: source was changed to add some feature and bugfix

DO NOT build by yourself and replace it !

# luv
Bare libuv bindings for lua

https://github.com/luvit/luv/blob/master/docs.md

PS: DO NOT CALL run() IN MAIN LUA STATE !!!

# effil
Multithreading support for Lua

https://github.com/effil/effil

# lua-socket
Network support for the Lua language

https://defold.com/ref/stable/socket/

https://github.com/diegonehab/luasocket

# luaSQL
LuaSQL is a simple interface from Lua to a DBMS.

https://keplerproject.github.io/luasql/examples.html

https://github.com/keplerproject/luasql

# lua-protobuf
A Lua module to work with Google protobuf

https://github.com/starwing/lua-protobuf/blob/master/README.zh.md

# json.lua
A lightweight JSON library for Lua

https://github.com/rxi/json.lua

# lua-MessagePack
a pure Lua implementation of msgpack.org

https://github.com/markstinson/lua-MessagePack

# LuaFileSystem
LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.

https://github.com/keplerproject/luafilesystem

https://keplerproject.github.io/luafilesystem/manual.html

# Penlight
A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.

https://lunarmodules.github.io/Penlight/

https://github.com/lunarmodules/Penlight

# lua-tcc
Lua bindings for the Tiny C Compiler by alien

see tcc/testX.lua

like https://github.com/nucular/tcclua

# hotfix
Hot update functions and keep old data.

https://github.com/jinq0123/hotfix

# serpent
Lua serializer and pretty printer.

https://github.com/pkulchenko/serpent
