|
It will probably not cover all of the features of LuaJIT's FFI, but
what someone could try is marrying an LPEG-based C parser, like Wesley
Smith's CEG:
http://article.gmane.org/gmane.comp.lang.lua.general/58453
...to Alien FFI:
http://alien.luaforge.net/
-Duncan