An educational project to teach core compiler concepts through incremental building. Start with a minimal C compiler, then advance to specialized compilers (CUDA, Python, CUDA-Q).
Learn compiler design by building one from scratch. Progress through:
- A minimal C compiler (handling variables, functions, loops, etc.)
- Specialized compilers for GPU (CUDA), high-level languages (Python), and quantum computing (CUDA-Q).
- Tools: GCC/Clang (C compiler), Python 3.8+ (testing framework), Make (build automation).
- Advanced Modules: CUDA Toolkit (for CUDA compiler), Python development headers (for Python compiler), cuQuantum SDK (for CUDA-Q).
- Clone the repository:
git clone https://github.com/your-username/compiler-101.git cd compiler-101