Module 1: Introduction & Lexical Analysis
Understand the overarching compiler structure and the first phase of text tokenization.
10 min read
Compiler Phases
Structure and phases of a compiler, introduction to LLVM, lexemes, and tokens.
Beginner
12 min read
Extended RE to DFA
Specify tokens via regular expressions and convert them to DFA (Direct Method).
Intermediate
InteractiveTool
Lexical Analyzer
Interactive toolkit to tokenize source code and build a symbol table.
Beginner
Module 2: Syntax Analysis
Deep dive into constructing Parse Trees and evaluating structural validity.
5 min read
Grammar Basics
Learn about Context-Free Grammars, Terminals, and Non-Terminals.
Beginner
8 min read
Direct Method
Understand how to generate Parse Trees directly from grammar rules.
Beginner
10 min read
LL(1) Parsing
Explore Top-Down predictive parsing using FIRST and FOLLOW sets.
Intermediate
12 min read
Shift-Reduce Parsing
Learn the fundamental bottom-up actions: Shift, Reduce, Accept, Error.
Intermediate
10 min read
Operator Precedence
Construct parsers specifically for evaluating mathematical expressions.
Intermediate
15 min read
LR Parsing
Master Bottom-Up parsing tiers: LR(0), SLR(1), CLR(1), and LALR(1).
Advanced
Module 3: Semantic Analysis
Assign meaning to the syntactical structure and evaluate attributes.
Module 4: Intermediate Code Generation
Translate semantic structures into machine-independent intermediate logic.
Module 5: Code Optimization
Enhance intermediate code for target architecture efficiency.
Module 6: Code Generation
Design execution environments and generate machine operations.
Module 7: Parallelism
Scale performance across multiple processor threads.