Compilers
Lexing, parsing, ASTs, and code generation.
0/4 complete
- LexingHow a scanner turns raw source text into a stream of tokens — the first stage of every compiler.intro
- ParsingGrammars and recursive-descent parsing — turning a flat token stream into a structured Abstract Syntax Tree.easy
- Code GenerationWalk the AST to emit stack-machine bytecode, then run it on a tiny virtual machine.medium
- OptimizationMake code faster and smaller without changing its meaning — constant folding and dead-code elimination on an IR.medium