bytexenon/Tiny-Lua-Compiler

⛄Possibly the smallest Lua compiler ever

46
/ 100
Emerging

This is a minimalist compiler for the Lua 5.1 programming language, written entirely in Lua. It takes Lua source code as input and produces executable instructions that can be run on its own virtual machine. It's designed for developers, educators, or students who want to understand the inner workings of a compiler without the complexity of a full-featured system.

128 stars.

Use this if you are a developer or student interested in learning how compilers work by exploring a simple, self-contained, and heavily commented implementation.

Not ideal if you need a production-ready Lua compiler for large-scale applications or require advanced optimization features like constant folding and debug symbols.

compiler-development programming-education language-design virtual-machine-development scripting-language-internals
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 10 / 25

How are scores calculated?

Stars

128

Forks

8

Language

Lua

License

MIT

Last pushed

Jan 29, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/bytexenon/Tiny-Lua-Compiler"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.