[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] luar - Lua bindings to Go using Reflection
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 6 Jul 2013 11:57:53 +0200
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 ; luar  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.