Skip to content

It is an educational project designed to teach core compiler concepts through hands-on incremental building: starting with a minimal C compiler and advancing to specialized compilers (CUDA, Python, CUDA-Q)

License

Notifications You must be signed in to change notification settings

AIComputing101/compiler-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler 101: From C to Specialized Compilers

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).

Project Goal

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).

Prerequisites

  • 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).

Setup

  1. Clone the repository:
    git clone https://github.com/your-username/compiler-101.git
    cd compiler-101

About

It is an educational project designed to teach core compiler concepts through hands-on incremental building: starting with a minimal C compiler and advancing to specialized compilers (CUDA, Python, CUDA-Q)

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •