About the Project
Py2C is an educational compiler that translates a restricted subset of Python into readable, standards-compliant C code. The project emphasizes clarity of design, modularity, and correctness over language completeness.
Py2C follows a classic compiler architecture: parsing → IR construction → optimization → code generation.
Design Decisions
Key architectural and technical decisions behind Py2C.
Open design-decisions →Documentation
Limitations & Future Work
Design trade-offs and extension roadmap.
Open future work →Academic Focus
Py2C is designed as a systems and compiler engineering project, suitable for graduate-level coursework, research exploration, and MS/MEng program evaluation.
The project demonstrates understanding of: parsing, IR design, optimization passes, control flow, and backend code generation.