Add compile mode for generating Yarn instructions.