Compiler Construction Kit

Watch your code transform through compilation stages

📝 Source Code

📚 Examples

📊 Compilation Stats

0
Tokens
0
AST Nodes
0
IR Instructions
0
ASM Lines
Level 1 Compiler Engineer
0 XP 100 XP to next level

🔧 Compilation Pipeline

🔤
Lexer
🌳
Parser
🔍
Semantic
📋
IR Gen
Optimize
💻
Code Gen

📖 Current Stage Info

Click "Compile" to start the compilation process, or use "Step" to go through each stage one by one.

🎯 Token Types

KEYWORD IDENTIFIER NUMBER OPERATOR STRING PUNCT

🏆 Achievements

Compile code to unlock achievements!

"Programs must be written for people to read, and only incidentally for machines to execute." - Harold Abelson