Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Synthesizing Java Expressions from Free-Form Queries
 
Loading...
Thumbnail Image
conference paper

Synthesizing Java Expressions from Free-Form Queries

Gvero, Tihomir  
•
Kuncak, Viktor  
2015
Acm Sigplan Notices
ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA)

We present a new code assistance tool for integrated development environments. Our system accepts as input free-form queries containing a mixture of English and Java, and produces Java code expressions that take the query into account and respect syntax, types, and scoping rules of Java, as well as statistical usage patterns. In contrast to solutions based on code search, the results returned by our tool need not directly correspond to any previously seen code fragment. As part of our system we have constructed a probabilistic context free grammar for Java constructs and library invocations, as well as an algorithm that uses a customized natural language processing tool chain to extract information from free-form text queries. We present the results on a number of examples showing that our technique (1) often produces the expected code fragments, (2) tolerates much of the flexibility of natural language, and (3) can repair incorrect Java expressions that use, for example, the wrong syntax or missing arguments.

  • Details
  • Metrics
Type
conference paper
DOI
10.1145/2814270.2814295
Web of Science ID

WOS:000367256500024

Author(s)
Gvero, Tihomir  
•
Kuncak, Viktor  
Date Issued

2015

Publisher

Assoc Computing Machinery

Publisher place

New York

Journal
Acm Sigplan Notices
Total of pages

17

Volume

50

Issue

10

Start page

416

End page

432

Subjects

Algorithms

•

Languages

•

Theory

•

Program Synthesis

•

Natural Language Processing

•

Autocompletion

•

Program Repair

Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LARA  
Event nameEvent placeEvent date
ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA)

Pittsburgh, PA

OCT 25-30, 2015

Available on Infoscience
February 16, 2016
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/124192
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés