Skip to content

hootrhino/beautiful-lua-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LuaUtil

LuaUtil is a small library written in go that provides the toolset to work with lua code in a structured manner.

For contributors

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.

Sources

The parser and ast is forked from gopher-lua and somewhat modified.

The ssa implementation is inspired by the GoLang ssa package.

Packages

No packages published

Languages

  • Go 85.8%
  • Yacc 14.2%