1. Building a Dynamic Language in C: Lexer, Parser, AST

Lexer — source text → token stream Parser — token stream → AST Codegen — AST → assembly (or direct evaluation)