TL;DR
This paper proposes a novel approach to code autocompletion that incorporates natural language descriptions of developer intent, demonstrated through a Python data science tool using language models trained on code corpora.
Contribution
It introduces the concept of natural language-guided programming and develops a tool that integrates natural language understanding into code autocompletion for Python data science tasks.
Findings
Feasibility demonstrated with a Python data science tool
Language models can incorporate natural language intent into code completion
Initial experiments show promising results but highlight the need for further research
Abstract
In today's software world with its cornucopia of reusable software libraries, when a programmer is faced with a programming task that they suspect can be completed through the use of a library, they often look for code examples using a search engine and then manually adapt found examples to their specific context of use. We put forward a vision based on a new breed of developer tools that have the potential to largely automate this process. The key idea is to adapt code autocompletion tools such that they take into account not only the developer's already-written code but also the intent of the task the developer is trying to achieve next, formulated in plain natural language. We call this practice of enriching the code with natural language intent to facilitate its completion natural language-guided programming. To show that this idea is feasible we design, implement and benchmark a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
