New Compiler Architecture Compiler - front-end Scanner - text vs tags Tag - tag specific handling Directive - directive grammar Parser - parse generic tokens Generator - generate compiled template