“…Code generation is an essential generation task in the field of natural language processing (NLP) and software engineering [20,24,7,8,18,35,36,16], which deals with automatically generating a piece of executable code from NL utterances. In recent years, a series of Seq2Tree models have made remarkable achievements for code generation [2,38,1,39,27,29,28,33,11,14,43,21]. Specifically, given an NL utterance input, instead of outputting a sequence of code tokens directly, the Seq2Tree model outputs a sequence of AST actions.…”