Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zxh0/lua.go
- Owner: zxh0
- License: mit
- Created: 2017-05-03T04:05:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T03:27:43.000Z (almost 4 years ago)
- Last Synced: 2024-10-01T16:00:08.035Z (3 months ago)
- Topics: golang, lua
- Language: Go
- Homepage:
- Size: 1.09 MB
- Stars: 107
- Watchers: 11
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.gitcd 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)