lua-users home
lua-l archive

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


Hi all,

This may be of interest to those who have been playing with Google's entertaining new language.  It builds on the existing 5.1 bindings (golua) maintained by Alessandro Arzilli [0]; luar [1] provides a way for arbitrary Go functions to be called from Lua.

This binding is very similar in spirit to LuaJava, where reflection also makes it straightforward to consume libraries without actually having to write explicit bindings.

On Debian/Ubuntu with liblua5.1-dev installed, golua is go-gettable, so luar is also go-gettable.  'go get github.com/stevedonovan/luar' will then do the job.

Alessandro is working on a experimental 5.2 version of golua and I don't envisage that much change would be required to luar.


[0] https://github.com/aarzilli/golua
[1] https://github.com/stevedonovan/luar