gopher-lua icon indicating copy to clipboard operation
gopher-lua copied to clipboard

GopherLua: VM and compiler for Lua in Go

Results 120 gopher-lua issues
Sort by recently updated
recently updated
newest added

1. What version of GopherLua are you using? > [email protected] 2. What version of Go are you using? : > go version go1.21.4 darwin/amd64 3. What operating system and processor...

Fixes #464. Pass function arguments. Previously the function was called always with zero arguments.

Fixes #462. In https://www.lua.org/manual/5.1/manual.html#pdf-string.gmatch is written for `gmatch`: > Returns an iterator function that, each time it is called, returns the next captures from pattern over string s. If pattern...

Support file modes: r+b, w+b, a+b. Closes #457

The implementation of `os.date` didn't support many flags that I was used to from other systems. This new implementation supports many more of the flags from the C standard for...

Gopher Lua version: 9d7d921 Go version: 1.21.0 Ran the following file: ```lua local x = string.gmatch("asdf", "a") print(x()) ``` ``` $ lua5.1 test.lua a ``` ``` $ glua test.lua test.lua:2:...

Flags: `r+b`, `w+b`, `a+b` are valid and works in C lua implementation. Gopher-lua throws an error: `bad argument #2 to open (invalid option: r+b (must be one of r,rb,w,wb,a,ab,r+,rb+,w+,wb+,a+,ab+))`

Changes proposed in this pull request: This feature extends the Options to load a Lua filesystem instead of loading directly from the OS. This extension uses an interface to allow...

GopherLua v1.1.0 go v1.21.0 linux/amd64 I defiend a global function called testfunc in lua, testfunc calls function test through xpcall and passes in a parameter, but the fucntion called with...

Fixes misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling). The misspellings have been reported at https://github.com/jsoref/gopher-lua/actions/runs/5746667302#summary-15576494538 The action reports that the changes in this PR would make it happy: https://github.com/jsoref/gopher-lua/actions/runs/5746667279#summary-15576494378 Changes proposed...