Shopify/go-lua
A Lua VM in Go observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 32
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4639
- days_rel: n/a
- days_push: 411
- n_releases_24m: 0
Adoption not part of the score
3451 stars · 213 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
go-lua is a port of the Lua 5.2 virtual machine and compiler to pure Go, provided as a Go library for embedding Lua scripting into Go applications. It is compatible with binary files produced by the reference Lua `luac` and is used in production at Shopify.
Use cases
- embed a Lua scripting engine in a Go application
- run Lua scripts from Go code
- let users customize Go tool behavior with Lua scripts
- execute Lua bytecode compiled with luac
- script load generation or resiliency tooling flows
When to choose
- you want Lua scripting in Go without cgo or C dependencies
- you need compatibility with Lua 5.2 bytecode from luac
- you want a simple, pure-Go library API rather than a standalone interpreter binary
When to avoid
- you need coroutines, Lua pattern matching (regex), or string.dump, which are not implemented
- you need weak reference tables
- you need maximum interpreter performance - C Lua is ~6x faster and gopher-lua is ~20% faster
- you want a command-line Lua interpreter - this is a library only
Facets
library · maturity maintenance
interpreter parser sdk programming-languages parsers developer-tools go cross-platform lua-vm scripting pure-go lua-5-2 embedding automation
1 source
- readme: https://github.com/Shopify/go-lua · fetched 2026-08-28 · ab3770869223
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Shopify/go-lua | main | 47 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem