The Pipeline Behind compiling software can be challenging to grasp... I'll try to break it down as much as i can

First of all the full pipeline looks something like this:

source code → [Lexer] → tokens → [Parser] → AST → [Semantic Analysis] → annotated AST → [LLVM IR] → optimized IR → machine code

Enter fullscreen mode

Exit fullscreen mode