4 ms·
Not the parent but there are several high quality native (meaning no CGO) Lua implementations for Go and it's a great choice if you want an embedded scripting l
by donio 3y ago
Not the parent but there are several high quality native (meaning no CGO) Lua implementations for Go and it's a great choice if you want an embedded scripting language:
https://github.com/yuin/gopher-lua https://github.com/yuin/gopher-lua
https://github.com/Shopify/go-lua https://github.com/Shopify/go-lua
Unless you specifically need a JVM either of these will be a much more practical and mature choice for embedded scripting.
Alternatively if you prefer JS then Otto is a good choice:
https://github.com/robertkrimen/otto https://github.com/robertkrimen/otto
- gabereiser 3y agoI used Shopify's go-lua. It was the simplest to integrate. Otto is what I'm on now but with a "lot" of shims to get ES6 classes to work.