2018 · 36 citations · 45 references
ComputingComputer ScienceCompilersNatural Language ProcessingProgramming LanguagesCode GenerationDesign SynthesisEnd-user ProgrammingNatural Language GenerationSoftware DesignAutomated Program SynthesisGenerative ProgrammingProgram SynthesisProgramming By ExampleUser-guided Generation
Recent years have seen great progress in automated synthesis techniques that can automatically generate code based on some intent expressed by the programmer, but communicating this intent remains a major challenge. When the expressed intent is coarse-grained (for example, restriction on the expected type of an expression), the synthesizer often produces a long list of results for the programmer to choose from, shifting the heavy-lifting to the user. An alternative approach, successfully used in end-user synthesis, is programming by example (PBE), where the user leverages examples to interactively and iteratively refine the intent. However, using only examples is not expressive enough for programmers, who can observe the generated program and refine the intent by directly relating to parts of the generated program.
45
Combinatorial sketching for finite programs
Armando Solar-Lezama, Liviu Tancau, Rastislav Bodík et al. · 2006 · 642 citations
Automating string processing in spreadsheets using input-output examples
Sumit Gulwani · 2011 · 446 citations
Program synthesis by sketching
Rastislav Bodík, Armando Solar-Lezama · 2008 · 338 citations