skip to main content
10.1145/2786805.2803189acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
short-paper

JSketch: sketching for Java

Published:30 August 2015Publication History

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.

References

  1. J. Jeon, X. Qiu, J. S. Foster, and A. Solar-Lezama. JSketch: Sketching for Java. CoRR, abs/1507.03577, 2015.Google ScholarGoogle Scholar
  2. J. Jeon, X. Qiu, J. S. Foster, and A. Solar-Lezama. Synthesizing Framework Models for Symbolic Execution. Unpublished manuscript, 2015.Google ScholarGoogle Scholar
  3. J. Jeon, X. Qiu, A. Solar-Lezama, and J. S. Foster. Adaptive Concretization for Parallel Program Synthesis. In CAV, July 2015.Google ScholarGoogle Scholar
  4. R. Singh, S. Gulwani, and A. Solar-Lezama. Automated Feedback Generation for Introductory Programming Assignments. In PLDI, pages 15–26, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Solar-Lezama. Program sketching. Int. J. STTT, 15(5-6):475–495, 2013.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Solar-Lezama. The Sketch Programmers Manual, 2015. Version 1.6.7.Google ScholarGoogle Scholar
  7. A. Solar-Lezama, C. G. Jones, and R. Bodik. Sketching concurrent data structures. In PLDI, pages 136–148, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. A. Solar-Lezama, L. Tancau, R. Bodik, S. Seshia, and V. Saraswat. Combinatorial sketching for finite programs. In ASPLOS, pages 404–415, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Srivastava, S. Gulwani, S. Chaudhuri, and J. S. Foster. Path-Based Inductive Synthesis for Program Inversion. In PLDI, pages 492–503, June 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Srivastava, S. Gulwani, and J. S. Foster. From program verification to program synthesis. In POPL, pages 313–326, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Introduction Overview Implementation Experience with JSketch Acknowledgments ReferencesGoogle ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    ESEC/FSE 2015: Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering
    August 2015
    1068 pages
    ISBN:9781450336758
    DOI:10.1145/2786805

    Copyright © 2015 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 30 August 2015

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • short-paper

    Acceptance Rates

    Overall Acceptance Rate112of543submissions,21%

    Upcoming Conference

    FSE '24

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader