bytexenon/Tiny-Lua-Compiler

⛄Possibly the smallest Lua compiler ever

46
/ 100
Emerging

Implements a complete compilation pipeline—tokenizer, parser, AST generator, and bytecode VM—all in a single ~2000-line Lua file with extensive inline documentation. Self-hosting and dependency-free, it targets Lua 5.1 semantics while deliberately omitting advanced optimizations (constant folding, debug symbols) to remain pedagogically focused and maintainable.

128 stars.

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.