gopher-lua
gopher-lua copied to clipboard
GopherLua: VM and compiler for Lua in Go
Fixes #127 Changes proposed in this pull request: - Support for "string.dump" - Support for doing "loadstring" on a compiled "blob" string Noteworthy things: - Incompatible with LUA5.1 binary format...
Fixes #120. Changes proposed in this pull request: - provide a safe version of `unsafeFastStringToReadOnlyBytes` to be used when compiling code for environments that don't support the "unsafe" package.
Provide a break capable, as well as error capable implementation of ForEach, allowing for early short-circuit and deep logging of error messages. Implement it underneath the current version, keeping only...
Fixes # . Changes proposed in this pull request: - a - b - c - d
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...
## Error Info: ```sh panic: runtime error: index out of range [1048577] with length 1048577 ``` The code : ```go func (rg *registry) Push(v LValue) { newSize := rg.top +...
Fixes #472 Changes proposed in this pull request: - Whenever the base == 10, parse the string as float when it contains `.`, `e`, or `E`.
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). - [x] GopherLua is a Lua5.1 implementation. You should be familiar with Lua programming language. Have you...
…t(Int/Float) Fixes #468 . Changes proposed in this pull request: - use strconv instead of fmt.Sprint in LNumber.String()