General idea: - AST Optimizations - Constant folding - Bytecode Optimizations - All the tricks of modern JITs, aside from emitting machine code