2021

Lyra: A Benchmark for Turducken-Style Code Generation

Liang, Qingyuan, Sun, Zeyu, Zhu, Qihao et al.

Understand

Recently, neural techniques have been used to generate source code automatically.

  • While promising for declarative languages, these approaches achieve much poorer performance on datasets for imperative languages.
  • Since a declarative language is typically embedded in an imperative language (i.e., the turducken-style programming) in real-world software development, the promising results on declarative languages can hardly lead to significant reduction of manual software development efforts.
  • In this paper, we define a new code generation task: given a natural language comment, this task aims to generate a program in a base imperative language with an embedded declarative language.

Reading the bibliography…