Xaver Fischer

Results 19 comments of Xaver Fischer

I think [LState.SetContext](https://pkg.go.dev/github.com/yuin/gopher-lua#LState.SetContext) already does what you need but in a more idomatic Go way.

It looks like the Problem is within [`compileAssignStmtLeft`](https://github.com/yuin/gopher-lua/blob/ee81675732da08c6c96265e65c88ef410081bfc0/compile.go#L540). There is some check if the identifier (in this case `f`) is the last argument. In case it is its Position (`ec.reg`)...

I can create a pull request yes. I was just hoping yuin would maybe give us some insight on this `FindLocalVar` thing.

Alright after looking into this a little more - I think there is something broken in the way multi assignment works in gopher-lua. There is a [multi assign test in...

See https://github.com/yuin/gopher-lua/issues/256 You can only run pure Lua Code. Lua Modules which load C libraries do not work. If you want to use C functions with gopher-lua you have to...

This also happens when you write a message instead of reading it. https://go.dev/play/p/NFGUFd02gnS While it is correct that quoted-printable lines have a length limit the currently returned error `bufio: buffer...

If this gets implemented we should also address #671 Right now the `|>` doesn't really fit into the stdlib. It's not possible to write something like `[1, 2, 3] |>...

> Alright after looking into this a little more - I think there is something broken in the way multi assignment works in gopher-lua. There is a [multi assign test...

Not a user of this library but I used the code as a starting point to build a notification library in go. For me the settings in this library also...