Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fiatjaf/lunatico
- Owner: fiatjaf
- License: mit
- Created: 2019-02-28T03:25:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T20:17:58.000Z (over 2 years ago)
- Last Synced: 2025-01-12T13:21:26.977Z (4 days ago)
- Topics: lua
- Language: Go
- Size: 13.7 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).