Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fiatjaf/lunatico

Go stuff to Lua and back: helper functions for github.com/aarzilli/golua
https://github.com/fiatjaf/lunatico

lua

Last synced: about 2 hours ago
JSON representation

Go stuff to Lua and back: helper functions for github.com/aarzilli/golua

Awesome Lists containing this project

README

        

This library makes it easy for people who don't understand the Lua stack thing to run Lua scripts inside Go programs. It uses https://github.com/aarzilli/golua underneath (but could be easily ported to other Lua implementations as the functions are almost the same).

See [the small test file](lunatico_test.go) for how to use (hint: it's basically (i) set some globals, (ii) run Lua code, (iii) get globals back).