Parser, traverser, and code generator for Latte JS