lua-users home
lua-l archive

[ANN] updated Lua_library_template

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


Just pushed updates to the template library. It now supports Lua 5.3.
What it does;
Install a commandline script that can instantly create a new Lua C library. This provides a quick way to write some tests or get started with a fill-in-the-blanks approach. It will include a luarocks rockspec file to build it.
Install;
> luarocks install lualibrarytemplate
Example use;
> luacmodule testmod
> cd testmod
> sudo luarocks make
Test the result;
> lua -e "require([[testmod]]).somefunction([[one]], two, 3)"
Repository;
https://github.com/Tieske/Lua_library_template
Thijs

AltStyle によって変換されたページ (->オリジナル) /