Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zxh0/lua.go

A toy Lua 5.3 implementation written in Go
https://github.com/zxh0/lua.go

golang lua

Last synced: 3 months ago
JSON representation

A toy Lua 5.3 implementation written in Go

Awesome Lists containing this project

README

        

# lua.go
A TOY Lua 5.3 implementation written in Go (WORK IN PROGRESS).

![lua.go Logo](logo.png?raw=true)

# Build & Test

(Go1.13+ required)

```shell
cd .
git clone https://github.com/zxh0/lua.go.git

cd lua.go
export GO111MODULE=on
go build github.com/zxh0/lua.go/cmd/lua

./lua test/hello_world.lua
```

# Links
* [Lua 5.3 Reference Manual](http://www.lua.org/manual/5.3/manual.html)
* [Lua 5.3 Source Code](http://www.lua.org/ftp/lua-5.3.4.tar.gz)
* [Lua 5.3 Test suites](http://www.lua.org/tests/lua-5.3.4-tests.tar.gz)
* [Lua 5.3 Bytecode Reference](http://the-ravi-programming-language.readthedocs.io/en/latest/lua_bytecode_reference.html#lua-5-3-bytecode-reference)
* [A No-Frills Introduction to Lua 5.1 VM Instructions](http://luaforge.net/docman/83/98/ANoFrillsIntroToLua51VMInstructions.pdf)
* [The Evolution of Lua](http://www.lua.org/doc/hopl.pdf)
* [The Implementation of Lua 5.0](http://www.lua.org/doc/jucs05.pdf)
* [Revisiting Coroutines](http://www.inf.puc-rio.br/~roberto/docs/MCC15-04.pdf)
* [Syntax-Diagrams for Lua 5.0](http://lua.lickert.net/syntax/Lua_syntax.pdf)
* [Lua-Source-Internal](https://github.com/lichuang/Lua-Source-Internal)
* [Linear Scan Register Allocation](http://www.cs.ucla.edu/~palsberg/course/cs132/linearscan.pdf)
* [Programming in Lua](https://www.lua.org/pil/)
* https://www.0value.com/implementing-lua-coroutines-in-go
* [Optimizing Lua VM Bytecode using Global Dataflow Analysis](https://nymphium.github.io/pdf/opeth_report.pdf)