Given an NL description q, our purpose is to generate code (e.g. Python) represented as an AST a. In this work, we start with the syntactic code gen-eration model by<cite> Yin and Neubig (2017)</cite> , which uses sequences of actions to generate the AST before converting it to surface code.