2018

Mapping Language to Code in Programmatic Context

Iyer, Srinivasan, Konstas, Ioannis, Cheung, Alvin et al.

Understand

Source code is rarely written in isolation.

  • It depends significantly on the programmatic context, such as the class that the code would reside in.
  • To study this phenomenon, we introduce the task of generating class member functions given English documentation and the programmatic context provided by the rest of the class.
  • This task is challenging because the desired code can vary greatly depending on the functionality the class provides (e.g., a sort function may or may not be available when we are asked to "return the smallest element" in a particular member variable list).

Reading the bibliography…