3 ms·
A _partial_ implementation without IO, pattern matching, or coroutines. Nothing to see here, really. Just remaps basic Lua syntax to Go without actually _imple
by ComputerGuru 9y ago
A _partial_ implementation without IO, pattern matching, or coroutines.
Nothing to see here, really. Just remaps basic Lua syntax to Go without actually _implementing_ what makes Lua useful.
- Impossible 9y agoIn an embedded context lua is definitely still useful without those things, although coroutines are nice to have almost all of the lua work I've done hasn't used any of those features. IO and pattern matching seem important if you're using lua for text processing, which isn't the only useful reason to use Lua.
- pygy_ 9y ago... or weak tables (because it relies on the Go GC which doesn't have weak references).
- nine_k 9y agoUsing a subset of Lua for scripting beats inventing your own wheel most of the time.