kirancodes.me
To Proof Maintenance & Beyond!

SWIM: synthesizing what i mean: code search and idiomatic snippet synthesis

Mukund Raghothaman, Yi Wei, Youssef Hamadi

Abstract

Modern programming frameworks come with large libraries, with diverse applications such as for matching regular expressions, parsing XML files and sending email. Programmers often use search engines such as Google and Bing to learn about existing APIs. In this paper, we describe SWIM, a tool which suggests code snippets given API-related natural language queries such as "generate md5 hash code". The query does not need to contain framework-specific trivia such as the type names or methods of interest.

BibTeX
@inproceedings{Raghothaman-al:ICSE16,
  author    = {Mukund Raghothaman and
               Yi Wei and
               Youssef Hamadi},
  title     = {{SWIM:} synthesizing what i mean: code search and idiomatic snippet synthesis},
  booktitle = {ICSE},
  pages     = {357--367},
  publisher = {{ACM}},
  year      = {2016},
}

Related papers