TinyCompiler: A compiler in a week-end

The TinyCompiler project is all about creating a compiler in a weekend, focusing on simplicity and efficiency. The goal is to translate an esoteric programming language into regular GNU assembly code in just 500 lines of Python. The project also includes a tinyoptimizer, showcasing various concepts in programming. The language being implemented, wend, is a simple language with basic features, making it a great introduction to compiler theory. The project includes fun graphics examples like a Zero-player breakout game and Mandelbrot set, adding an interesting twist to traditional compiler development.

https://ssloy.github.io/tinycompiler/

To top