LuaUtil is a small library written in go that provides the toolset to work with lua code in a structured manner.
To update the yacc stuff you need goyacc.
go get modernc.org/goyacc
Command to generate the go file from yacc:
goyacc -o parser.go parser.y
You can delete the y.output file afterwards.
The parser and ast is forked from gopher-lua and somewhat modified.
The ssa implementation is inspired by the GoLang ssa package.