login
Home / Papers / JSketch: sketching for Java

JSketch: sketching for Java

35 Citations2015
Jinseong Jeon, Xiaokang Qiu, Jeffrey S. Foster
journal unavailable

JSketch is presented, a tool that brings sketch-based synthesis to Java by translating the synthesis problem into a Sketch problem; this translation is complex because Sketch is not object-oriented.

Abstract

Sketch-based synthesis, epitomized by the Sketch tool, lets developers synthesize software starting from a partial program, also called a sketch or template. This paper presents JSketch, a tool that brings sketch-based synthesis to Java. JSketch's input is a partial Java program that may include holes, which are unknown constants, expression generators, which range over sets of expressions, and class generators, which are partial classes. JSketch then translates the synthesis problem into a Sketch problem; this translation is complex because Sketch is not object-oriented. Finally, JSketch synthesizes an executable Java program by interpreting the output of Sketch.

JSketch: sketching for Java