lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 07/22/2015 03:07 PM, Hisham wrote:
That's precisely what I was going to suggest. Typed Lua supports type
definitions in separate .tld files. This is the typing of LuaSocket's
"socket" module:

https://github.com/andremm/typedlua/blob/master/examples/luasocket/socket.tld

That looks actually very interesting, thanks for the pointer. I think I'll show some simple examples ton non-Lua types (ha!) and ask them if they can guess the structure.

Jorge