gopher-lua
gopher-lua copied to clipboard
GopherLua: VM and compiler for Lua in Go
Changes proposed in this pull request: - When closing a `lFileProcess` close the writer before calling `Wait` - Normalize the stdout closing to also use casting to `.(io.Closer)` - Move...
- [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....
When I use `Foreach` to iterate a table, there is no way to break the loop.
### Issue When using the `#` unary operator on a lua array that has `index = value`, the returned length is the highest index. ### Example ```lua print(#{ [20] =...
Fixes #349. stdin, stdout and stderr can be overwritten with custom readers/writers. As a consequence, the host program's streams are not polluted by the LUA VM's output. LUA input/output can...
- [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....
Update to chzyer/readline@8e4bd417b916. Use not released version because `8e4bd417b916` have the `Handle keypad mode cursor key escape sequences` feature.
Run goimports excludes `parse/parser.go`.
Please answer the following before submitting your issue: 1. What version of GopherLua are you using? : master 2. What version of Go are you using? : - 3. What...