bytexenon/Tiny-Lua-Compiler
⛄Possibly the smallest Lua compiler ever
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.
Stars
128
Forks
8
Language
Lua
License
MIT
Category
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.
Higher-rated alternatives
javaparser/javaparser
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
asmjit/asmjit
Low-latency machine code generation
lioncash/biscuit
A runtime code generator for RISC-V
llvm-hs/llvm-hs-pretty
Pretty printer for LLVM AST to Textual IR
iml130/mlir-emitc
Conversions to MLIR EmitC