gopher-lua
gopher-lua copied to clipboard
GopherLua: VM and compiler for Lua in Go
See https://github.com/golang/go/issues/32479 Fixes # . Changes proposed in this pull request: - a - b - c - d
Fixes 1 Changes proposed in this pull request: - Added an explanation for calling Lua functions as it isn't immediately clear
1. What version of GopherLua are you using? : newest 2. What version of Go are you using? : 1.10 3. What operating system and processor architecture are you using?...
I write a server program based on gopher-lua. When my server timer calls a function in the lua script, the following problem appears ``` panic: runtime error: index out of...
- [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....
Would be great to have go.mod and go.sum files added, together with tagged releases following the Go 1.11 modules convention: https://github.com/golang/go/wiki/Modules
LoadAst
Add func LoadAst.
Changes proposed in this pull request: - Adds `ForEachB(cb func(LValue, LValue) bool)` func to `LTable`, which stops when callback returns false
Bump Go versions.
- [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....