DocumentCode
1636649
Title
Interactive Synthesis Using Free-Form Queries
Author
Gvero, Tihomir ; Kuncak, Viktor
Author_Institution
Ecole Polytech. Fed. de Lausanne (EPFL), Lausanne, Switzerland
Volume
2
fYear
2015
Firstpage
689
Lastpage
692
Abstract
We present a new code assistance tool for integrated development environments. Our system accepts free-form queries allowing a mixture of English and Java as an input, and produces Java code fragments that take the query into account and respect syntax, types, and scoping rules of Java as well as statistical usage patterns. The returned results need not have the structure of 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. The evaluation results show that our technique can tolerate much of the flexibility present in natural language, and can also be used to repair incorrect Java expressions that contain useful information about the developer´s intent. Our demo video is available at http://youtu.be/tx4-XgAZkKU.
Keywords
Java; natural language processing; query processing; software libraries; statistical analysis; English; Java code fragments; code assistance tool; customized natural language processing tool chain; free-form queries; free-form text queries; integrated development environments; interactive synthesis; library invocations; statistical usage patterns; Chapters; Context; Grammar; Java; Natural language processing; Programming; Code Completion; Natural Language Processing; Program Repair; Program Synthesis;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location
Florence
Type
conf
DOI
10.1109/ICSE.2015.224
Filename
7203044
Link To Document