Firebird Lua+ffi binding – A complete ffi binding of the Firebird client library.
Fbclient – A complete ffi binding of the Firebird client library.
This is Work in progress In the meantime, you can use the old fbclient which is stable and complete.
Also you can contribute on github.
ps: i find the code quite clean and readable