gopher-lua
gopher-lua copied to clipboard
GopherLua: VM and compiler for Lua in Go
Fixes confusing output from os.lua test Changes proposed in this pull request: - suppress stderr from `date` which doesn't take `-a` (which is flag available on Solaris/AIX).
You **must** post issues only here. Questions, ideas **must** be posted in [discussions](https://github.com/yuin/gopher-lua/discussions). - [x] GopherLua is a Lua5.1 implementation. You should be familiar with Lua programming language. Have you...
You **must** post issues only here. Questions, ideas **must** be posted in [discussions](https://github.com/yuin/gopher-lua/discussions). - [ ] GopherLua is a Lua5.1 implementation. You should be familiar with Lua programming language. Have...
Fixes #417 . Changes proposed in this pull request: - nil params passed to os.date are interpreted as the default values couldn't use `L.OptString` because unlike `L.CheckString`, it does not...
- [X] GopherLua is a Lua5.1 implementation. You should be familiar with Lua programming language. Have you read [Lua 5.1 reference manual](http://www.lua.org/manual/5.1/) carefully? - [X] GopherLua is a Lua5.1 implementation....
L := lua.NewState(lua.Options{SkipOpenLibs: true, CallStackSize: 256, RegistrySize: 256 * 20}) lua.OpenBase(L) lua.OpenString(L) lua.OpenTable(L) lua.OpenMath(L) defer L.Close() ctx, cancel := context.WithTimeout(context.Background(), time.Duration(timeout)*time.Second) defer cancel() L.SetContext(ctx) if err := L.DoString(` function a(c,v)...
You **must** post issues only here. Questions, ideas **must** be posted in [discussions](https://github.com/yuin/gopher-lua/discussions). Please answer the following before submitting your issue: 1. What version of GopherLua are you using? :...
fix function names in comment